diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-04-09 17:29:50 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-04-09 18:18:18 +0200 |
commit | c1516c59709fa47d13100daddb57657008a793c3 (patch) | |
tree | 25a93149cd56546cdff6b383288cffc0b82941a1 /autocrypt | |
parent | dbaf698a597a018d9522e8025e9b56e784f0d60b (diff) |
openpgp: Remove convenience functions.
Diffstat (limited to 'autocrypt')
-rw-r--r-- | autocrypt/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/src/lib.rs b/autocrypt/src/lib.rs index 9187d1d3..ca517cc0 100644 --- a/autocrypt/src/lib.rs +++ b/autocrypt/src/lib.rs @@ -683,7 +683,7 @@ impl<'a> AutocryptSetupMessageParser<'a> { // Recurse into the SEIP packet. let mut ppr = self.pp.recurse()?.1; - if ppr.recursion_depth() != Some(1) { + if ppr.as_ref().map(|pp| pp.recursion_depth()) != Some(1) { return Err( Error::MalformedMessage( "SEIP container empty, but expected a Literal Data packet" |