diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-10-06 14:21:32 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-10-06 14:56:16 +0200 |
commit | 4811fe4b481515a60b3b2a0a66d78981cbc604c8 (patch) | |
tree | c589254f95409f1ec1a3406cf9bb8f6e1f9679d1 /openpgp/src/parse.rs | |
parent | 7abeaa9a1e64d3a396eaa714bb31f34dcb408898 (diff) |
openpgp: Move checksum processing to SecretKeyMaterial::_parse.
Diffstat (limited to 'openpgp/src/parse.rs')
-rw-r--r-- | openpgp/src/parse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs index 4df9adf8..9bf520e3 100644 --- a/openpgp/src/parse.rs +++ b/openpgp/src/parse.rs @@ -2112,7 +2112,7 @@ impl Key4<key::UnspecifiedParts, key::UnspecifiedRole> // Unencrypted 0 => { let sec = php_try!( - crypto::mpi::SecretKeyMaterial::_parse(pk_algo, &mut php)); + crypto::mpi::SecretKeyMaterial::_parse(pk_algo, &mut php, None)); let their_chksum = php_try!(php.parse_be_u16("checksum")); let mut cur = Cursor::new(Vec::default()); |