summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/s2k.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/s2k.rs')
-rw-r--r--openpgp/src/crypto/s2k.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/crypto/s2k.rs b/openpgp/src/crypto/s2k.rs
index 84b75b02..f403589c 100644
--- a/openpgp/src/crypto/s2k.rs
+++ b/openpgp/src/crypto/s2k.rs
@@ -14,9 +14,9 @@ use crate::crypto::SessionKey;
use std::fmt;
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
use quickcheck::{Arbitrary, Gen};
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
use rand::Rng;
/// String-to-Key (S2K) specifiers.
@@ -370,7 +370,7 @@ impl fmt::Display for S2K {
}
}
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
impl Arbitrary for S2K {
fn arbitrary<G: Gen>(g: &mut G) -> Self {
#[allow(deprecated)]