Loading openssl/build.rs +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ fn main() { println!("cargo:rustc-check-cfg=cfg(libressl380)"); println!("cargo:rustc-check-cfg=cfg(libressl382)"); println!("cargo:rustc-check-cfg=cfg(libressl390)"); println!("cargo:rustc-check-cfg=cfg(libressl400)"); println!("cargo:rustc-check-cfg=cfg(ossl101)"); println!("cargo:rustc-check-cfg=cfg(ossl102)"); Loading Loading @@ -112,6 +113,9 @@ fn main() { if version >= 0x3_09_00_00_0 { println!("cargo:rustc-cfg=libressl390"); } if version >= 0x4_00_00_00_0 { println!("cargo:rustc-cfg=libressl400"); } } if let Ok(vars) = env::var("DEP_OPENSSL_CONF") { Loading openssl/src/conf.rs +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ foreign_type_and_impl_send_sync! { pub struct ConfRef; } #[cfg(not(boringssl))] #[cfg(not(any(boringssl, libressl400)))] mod methods { use super::Conf; use crate::cvt_p; Loading Loading @@ -61,5 +61,5 @@ mod methods { } } } #[cfg(not(boringssl))] #[cfg(not(any(boringssl, libressl400)))] pub use methods::*; Loading
openssl/build.rs +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ fn main() { println!("cargo:rustc-check-cfg=cfg(libressl380)"); println!("cargo:rustc-check-cfg=cfg(libressl382)"); println!("cargo:rustc-check-cfg=cfg(libressl390)"); println!("cargo:rustc-check-cfg=cfg(libressl400)"); println!("cargo:rustc-check-cfg=cfg(ossl101)"); println!("cargo:rustc-check-cfg=cfg(ossl102)"); Loading Loading @@ -112,6 +113,9 @@ fn main() { if version >= 0x3_09_00_00_0 { println!("cargo:rustc-cfg=libressl390"); } if version >= 0x4_00_00_00_0 { println!("cargo:rustc-cfg=libressl400"); } } if let Ok(vars) = env::var("DEP_OPENSSL_CONF") { Loading
openssl/src/conf.rs +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ foreign_type_and_impl_send_sync! { pub struct ConfRef; } #[cfg(not(boringssl))] #[cfg(not(any(boringssl, libressl400)))] mod methods { use super::Conf; use crate::cvt_p; Loading Loading @@ -61,5 +61,5 @@ mod methods { } } } #[cfg(not(boringssl))] #[cfg(not(any(boringssl, libressl400)))] pub use methods::*;