summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/s2k.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-04-16 11:58:32 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-04-16 11:58:32 +0200
commit350320a32ce569d3e86352ba5a79ee969e9595af (patch)
tree87fe70395f62566d7d7e0cef3e93d62f6288a4e4 /openpgp/src/crypto/s2k.rs
parente1ae4a79ada96a97f604d3f3f172b9b02a6da8bb (diff)
Revert "openpgp: Make PacketParserResult a std::result::Result."
Diffstat (limited to 'openpgp/src/crypto/s2k.rs')
-rw-r--r--openpgp/src/crypto/s2k.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/s2k.rs b/openpgp/src/crypto/s2k.rs
index 40a26bda..8dff4693 100644
--- a/openpgp/src/crypto/s2k.rs
+++ b/openpgp/src/crypto/s2k.rs
@@ -416,7 +416,7 @@ mod tests {
// Get the next packet.
let (_, ppr) = pp.next().unwrap();
- assert!(ppr.is_err());
+ assert!(ppr.is_none());
}
}