Loading openssl/build.rs +3 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,9 @@ fn main() { if version >= 0x3_00_00_00_0 { println!("cargo:rustc-cfg=ossl300"); } if version >= 0x3_01_00_00_0 { println!("cargo:rustc-cfg=ossl310"); } } if let Ok(version) = env::var("DEP_OPENSSL_LIBRESSL_VERSION_NUMBER") { Loading openssl/src/error.rs +3 −0 Original line number Diff line number Diff line Loading @@ -401,9 +401,12 @@ cfg_if! { #[cfg(test)] mod tests { #[cfg(not(ossl310))] use crate::nid::Nid; #[test] // Due to a bug in OpenSSL 3.1.0, this test can hang there. Skip for now. #[cfg(not(ossl310))] fn test_error_library_code() { let stack = Nid::create("not-an-oid", "invalid", "invalid").unwrap_err(); let errors = stack.errors(); Loading Loading
openssl/build.rs +3 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,9 @@ fn main() { if version >= 0x3_00_00_00_0 { println!("cargo:rustc-cfg=ossl300"); } if version >= 0x3_01_00_00_0 { println!("cargo:rustc-cfg=ossl310"); } } if let Ok(version) = env::var("DEP_OPENSSL_LIBRESSL_VERSION_NUMBER") { Loading
openssl/src/error.rs +3 −0 Original line number Diff line number Diff line Loading @@ -401,9 +401,12 @@ cfg_if! { #[cfg(test)] mod tests { #[cfg(not(ossl310))] use crate::nid::Nid; #[test] // Due to a bug in OpenSSL 3.1.0, this test can hang there. Skip for now. #[cfg(not(ossl310))] fn test_error_library_code() { let stack = Nid::create("not-an-oid", "invalid", "invalid").unwrap_err(); let errors = stack.errors(); Loading