diff --git a/aws-lc-rs/src/rsa/key.rs b/aws-lc-rs/src/rsa/key.rs index 5d7dca53bf1..690c1544278 100644 --- a/aws-lc-rs/src/rsa/key.rs +++ b/aws-lc-rs/src/rsa/key.rs @@ -430,6 +430,7 @@ where } } +#[cfg(feature = "ring-io")] impl From<&PublicKey> for PublicKeyComponents<&[u8]> { fn from(public_key: &PublicKey) -> Self { PublicKeyComponents {