diff options
Diffstat (limited to 'openpgp/src/message/mod.rs')
-rw-r--r-- | openpgp/src/message/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs index 877f503b..d36ddb3c 100644 --- a/openpgp/src/message/mod.rs +++ b/openpgp/src/message/mod.rs @@ -798,7 +798,7 @@ mod tests { lit.set_body(b"data".to_vec()); let hash = crate::constants::HashAlgorithm::SHA512; - let key: Key = + let key: key::SecretKey = crate::packet::key::Key4::generate_ecc(true, crate::constants::Curve::Ed25519) .unwrap().into(); let mut pair = key.clone().into_keypair().unwrap(); @@ -910,7 +910,7 @@ mod tests { lit.set_body(b"data".to_vec()); let hash = crate::constants::HashAlgorithm::SHA512; - let key: Key = + let key: key::SecretKey = crate::packet::key::Key4::generate_ecc(true, crate::constants::Curve::Ed25519) .unwrap().into(); let mut pair = key.clone().into_keypair().unwrap(); |