diff --git a/src/certs/snp/mod.rs b/src/certs/snp/mod.rs index cef6ec6e..d52f7e65 100644 --- a/src/certs/snp/mod.rs +++ b/src/certs/snp/mod.rs @@ -58,12 +58,12 @@ pub trait Signer { fn sign(&self, target: &mut T) -> Result; } -#[cfg(any(feature = "openssl", feature = "crypto_nossl"))] +#[cfg(feature = "openssl")] pub(crate) trait FromLe: Sized { fn from_le(value: &[u8]) -> Result; } -#[cfg(any(feature = "openssl", feature = "crypto_nossl"))] +#[cfg(feature = "openssl")] pub(crate) trait AsLeBytes { fn as_le_bytes(&self) -> T; }