summaryrefslogtreecommitdiffstats
path: root/openpgp/src/tpk
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/tpk')
-rw-r--r--openpgp/src/tpk/builder.rs3
-rw-r--r--openpgp/src/tpk/mod.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/openpgp/src/tpk/builder.rs b/openpgp/src/tpk/builder.rs
index 5e72a00a..3401b109 100644
--- a/openpgp/src/tpk/builder.rs
+++ b/openpgp/src/tpk/builder.rs
@@ -1,7 +1,7 @@
use time;
use crate::packet;
-use crate::packet::{Features, KeyFlags};
+use crate::packet::{KeyFlags};
use crate::packet::{
key,
Key,
@@ -16,6 +16,7 @@ use crate::conversions::Time;
use crate::crypto::Password;
use crate::autocrypt::Autocrypt;
use crate::constants::{
+ Features,
HashAlgorithm,
SignatureType,
SymmetricAlgorithm,
diff --git a/openpgp/src/tpk/mod.rs b/openpgp/src/tpk/mod.rs
index 18d23ce9..3ac9f4f7 100644
--- a/openpgp/src/tpk/mod.rs
+++ b/openpgp/src/tpk/mod.rs
@@ -2382,7 +2382,7 @@ mod test {
#[test]
fn revoked_time() {
- use crate::packet::Features;
+ use crate::constants::Features;
use crate::packet::key::Key4;
use crate::constants::Curve;
use rand::{thread_rng, Rng, distributions::Open01};