summaryrefslogtreecommitdiffstats
path: root/autocrypt
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-04-05 19:42:28 +0200
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-04-08 17:35:44 +0200
commite9f1216d8d5c4de851bfe9f98d65bce473320e9f (patch)
treef94a99744c1cc0595d010930a767269b12db8a15 /autocrypt
parent6e065c1cc0054770a59fd84ca05d8e47feed793c (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.rs2
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),