summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-12-10 09:38:59 +0100
committerAzul <azul@riseup.net>2020-12-10 13:57:19 +0100
commit7176d5746beb8835a1a09e9c3504f7bc8d0da6b3 (patch)
treedb806ebfd3b4ea1c14fab8dfb90a868502481031 /openpgp/src/crypto
parent227db80b9d40526387f1e4a64f90464618fb885b (diff)
openpgp: Add remaining assert_send_and_sync! calls.
- See #615.
Diffstat (limited to 'openpgp/src/crypto')
-rw-r--r--openpgp/src/crypto/aead.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/crypto/aead.rs b/openpgp/src/crypto/aead.rs
index 5e9b5eeb..f26d71fb 100644
--- a/openpgp/src/crypto/aead.rs
+++ b/openpgp/src/crypto/aead.rs
@@ -115,6 +115,7 @@ pub struct Decryptor<'a> {
// Up to a chunk of unread data.
buffer: Vec<u8>,
}
+assert_send_and_sync!(Decryptor<'_>);
impl<'a> Decryptor<'a> {