diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 295a53973..1d9b37b14 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -82,7 +82,9 @@ use crate::x509::store::{X509Store, X509StoreBuilderRef, X509StoreRef}; #[cfg(any(ossl102, boringssl, libressl261))] use crate::x509::verify::X509VerifyParamRef; use crate::x509::{X509Name, X509Ref, X509StoreContextRef, X509VerifyResult, X509}; -use crate::{cvt, cvt_n, cvt_p, cvt_p_const, init}; +use crate::{cvt, cvt_n, cvt_p, init}; +#[cfg(ossl300)] +use crate::cvt_p_const; use bitflags::bitflags; use cfg_if::cfg_if; use foreign_types::{ForeignType, ForeignTypeRef, Opaque};