diff --git a/src/crypto/cipher.rs b/src/crypto/cipher.rs index fa75a69b..b64a26a3 100644 --- a/src/crypto/cipher.rs +++ b/src/crypto/cipher.rs @@ -804,6 +804,7 @@ impl Display for CipherType { mod test_cipher { use crate::crypto::{new_stream, CipherType, CryptoMode}; + #[cfg(feature = "aes-cfb")] #[test] fn test_get_cipher() { let key = CipherType::Aes128Cfb.bytes_to_key(b"PassWORD");