diff options
Diffstat (limited to 'openpgp/src/packet/skesk.rs')
-rw-r--r-- | openpgp/src/packet/skesk.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/packet/skesk.rs b/openpgp/src/packet/skesk.rs index d5ea7d91..be63e968 100644 --- a/openpgp/src/packet/skesk.rs +++ b/openpgp/src/packet/skesk.rs @@ -8,7 +8,7 @@ use std::ops::{Deref, DerefMut}; -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] use quickcheck::{Arbitrary, Gen}; use crate::Result; @@ -39,7 +39,7 @@ impl SKESK { } } -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] impl Arbitrary for SKESK { fn arbitrary<G: Gen>(g: &mut G) -> Self { if bool::arbitrary(g) { @@ -299,7 +299,7 @@ impl From<SKESK4> for Packet { } } -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] impl Arbitrary for SKESK4 { fn arbitrary<G: Gen>(g: &mut G) -> Self { SKESK4::new(SymmetricAlgorithm::arbitrary(g), @@ -578,7 +578,7 @@ impl From<SKESK5> for Packet { } } -#[cfg(any(test, feature = "quickcheck"))] +#[cfg(test)] impl Arbitrary for SKESK5 { fn arbitrary<G: Gen>(g: &mut G) -> Self { let algo = AEADAlgorithm::EAX; // The only one we dig. |