summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-11-25 11:29:37 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-11-25 11:35:06 +0100
commit9c6174635ac40a32b273bf78493c1d6db3cc2d34 (patch)
tree6cb90209caa44931abe6061144af3cfbd61711e5 /sqv
parent6b3574906ed2cd647a6d4f8dcb3243e3dd0d5616 (diff)
openpgp: Rename openpgp::constants to openpgp::types.
- Fixes #381.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv.rs2
-rw-r--r--sqv/tests/revoked-key.rs2
-rw-r--r--sqv/tests/wrong-key-flags.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index bf3ce485..193dc88c 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -14,7 +14,7 @@ use std::fs::File;
use std::collections::{HashMap, HashSet};
use crate::openpgp::{TPK, Packet, packet::Signature, KeyID, RevocationStatus};
-use crate::openpgp::constants::HashAlgorithm;
+use crate::openpgp::types::HashAlgorithm;
use crate::openpgp::crypto::hash::Hash;
use crate::openpgp::parse::{Parse, PacketParserResult, PacketParser};
use crate::openpgp::tpk::TPKParser;
diff --git a/sqv/tests/revoked-key.rs b/sqv/tests/revoked-key.rs
index 650b7bd1..dd7ef26b 100644
--- a/sqv/tests/revoked-key.rs
+++ b/sqv/tests/revoked-key.rs
@@ -67,7 +67,7 @@ mod integration {
// },
// crypto::KeyPair,
// serialize::Serialize,
-// constants::{
+// types::{
// SignatureType,
// HashAlgorithm,
// PublicKeyAlgorithm,
diff --git a/sqv/tests/wrong-key-flags.rs b/sqv/tests/wrong-key-flags.rs
index e7e73cf7..926d184c 100644
--- a/sqv/tests/wrong-key-flags.rs
+++ b/sqv/tests/wrong-key-flags.rs
@@ -33,7 +33,7 @@ mod integration {
// },
// crypto::KeyPair,
// serialize::Serialize,
-// constants::{
+// types::{
// SignatureType,
// HashAlgorithm,
// }