diff --git a/openssl/src/lib.rs b/openssl/src/lib.rs index df8b87dc5..9b837e460 100644 --- a/openssl/src/lib.rs +++ b/openssl/src/lib.rs @@ -193,6 +193,7 @@ pub mod ssl; pub mod stack; pub mod string; pub mod symm; +#[cfg(not(boringssl))] pub mod ts; pub mod version; pub mod x509; diff --git a/openssl/src/ts.rs b/openssl/src/ts.rs index 6d525dc7c..99f4f26f0 100644 --- a/openssl/src/ts.rs +++ b/openssl/src/ts.rs @@ -389,7 +389,6 @@ impl TsRespContext { /// /// /// Requires OpenSSL 1.1.0 or newer. - #[cfg(ossl110)] #[corresponds(TS_RESP_CTX_set_signer_digest)] pub fn set_signer_digest(&mut self, md: MessageDigest) -> Result<(), ErrorStack> { unsafe {