diff --git a/tests/client_auth_revocation.rs b/tests/client_auth_revocation.rs index 333797f6..d7aba382 100644 --- a/tests/client_auth_revocation.rs +++ b/tests/client_auth_revocation.rs @@ -14,6 +14,7 @@ extern crate webpki; +#[cfg(feature = "alloc")] static ALL_SIGALGS: &[&webpki::SignatureAlgorithm] = &[ &webpki::ECDSA_P256_SHA256, &webpki::ECDSA_P256_SHA384, @@ -61,6 +62,7 @@ impl<'a> webpki::CrlProvider<'a> for TestCrls<'a> { } } +#[cfg(feature = "alloc")] fn check_cert( ee: &[u8], intermediates: &[&[u8]],