diff options
author | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-04-05 19:42:28 +0200 |
---|---|---|
committer | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-04-08 17:35:44 +0200 |
commit | e9f1216d8d5c4de851bfe9f98d65bce473320e9f (patch) | |
tree | f94a99744c1cc0595d010930a767269b12db8a15 /autocrypt | |
parent | 6e065c1cc0054770a59fd84ca05d8e47feed793c (diff) |
openpgp: Rename crypto::mpis to crypto::mpi
To be consistent; we don't use plural forms for modules anywhere else
and Rust always uses singular forms.
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), |