summaryrefslogtreecommitdiffstats
path: root/autocrypt
diff options
context:
space:
mode:
Diffstat (limited to 'autocrypt')
-rw-r--r--autocrypt/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/src/lib.rs b/autocrypt/src/lib.rs
index 3b52cb69..7a51b5f3 100644
--- a/autocrypt/src/lib.rs
+++ b/autocrypt/src/lib.rs
@@ -538,7 +538,7 @@ impl AutocryptSetupMessage {
/// Parses the autocrypt setup message in `r`.
///
/// `passcode` is the passcode used to protect the message.
- pub fn from_reader<'a, R: io::Read + 'a>(r: R)
+ pub fn from_reader<'a, R: io::Read + Send + Sync + 'a>(r: R)
-> Result<AutocryptSetupMessageParser<'a>> {
// The outer message uses ASCII-armor. It includes a password
// hint. Hence, we need to parse it aggressively.