diff options
Diffstat (limited to 'openpgp/src/crypto/aead.rs')
-rw-r--r-- | openpgp/src/crypto/aead.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/crypto/aead.rs b/openpgp/src/crypto/aead.rs index ac658046..d98c8a53 100644 --- a/openpgp/src/crypto/aead.rs +++ b/openpgp/src/crypto/aead.rs @@ -116,6 +116,7 @@ pub struct Decryptor<'a> { buffer: Vec<u8>, } + impl<'a> Decryptor<'a> { /// Instantiate a new AEAD decryptor. /// @@ -543,6 +544,7 @@ pub struct Encryptor<W: io::Write> { // A place to write encrypted data into. scratch: Vec<u8>, } +assert_send_and_sync!{Encryptor<Vec<u8>>} impl<W: io::Write> Encryptor<W> { /// Instantiate a new AEAD encryptor. |