summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/one_pass_sig.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/one_pass_sig.rs')
-rw-r--r--openpgp/src/packet/one_pass_sig.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/packet/one_pass_sig.rs b/openpgp/src/packet/one_pass_sig.rs
index d0524c21..281747e1 100644
--- a/openpgp/src/packet/one_pass_sig.rs
+++ b/openpgp/src/packet/one_pass_sig.rs
@@ -6,7 +6,7 @@
use std::fmt;
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
use quickcheck::{Arbitrary, Gen};
use crate::Error;
@@ -168,14 +168,14 @@ impl<'a> std::convert::TryFrom<&'a Signature> for OnePassSig3 {
}
}
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
impl Arbitrary for super::OnePassSig {
fn arbitrary<G: Gen>(g: &mut G) -> Self {
OnePassSig3::arbitrary(g).into()
}
}
-#[cfg(any(test, feature = "quickcheck"))]
+#[cfg(test)]
impl Arbitrary for OnePassSig3 {
fn arbitrary<G: Gen>(g: &mut G) -> Self {
let mut ops = OnePassSig3::new(SignatureType::arbitrary(g));