diff options
Diffstat (limited to 'autocrypt')
-rw-r--r-- | autocrypt/src/cert.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/src/cert.rs b/autocrypt/src/cert.rs index 4063e97a..dd7b29e1 100644 --- a/autocrypt/src/cert.rs +++ b/autocrypt/src/cert.rs @@ -71,7 +71,7 @@ mod tests { assert_eq!(cert1.keys().subkeys().next().unwrap().key().pk_algo(), PublicKeyAlgorithm::ECDH); match cert1.keys().subkeys().next().unwrap().key().mpis() { - openpgp::crypto::mpis::PublicKey::ECDH { + openpgp::crypto::mpi::PublicKey::ECDH { curve: openpgp::types::Curve::Cv25519, .. } => (), m => panic!("unexpected mpi: {:?}", m), |