Loading openssl/build.rs +8 −0 Original line number Diff line number Diff line Loading @@ -94,5 +94,13 @@ fn main() { if version >= 0x3_05_00_00_0 { println!("cargo:rustc-cfg=libressl350"); } if version >= 0x3_06_00_00_0 { println!("cargo:rustc-cfg=libressl360"); } if version >= 0x3_06_01_00_0 { println!("cargo:rustc-cfg=libressl361"); } } } openssl/src/pkcs7.rs +4 −0 Original line number Diff line number Diff line Loading @@ -361,7 +361,9 @@ mod tests { assert_eq!(content.expect("should be non-empty"), message.as_bytes()); } /// https://marc.info/?l=openbsd-cvs&m=166602943014106&w=2 #[test] #[cfg_attr(all(libressl360, not(libressl361)), ignore)] fn sign_verify_test_normal() { let cert = include_bytes!("../test/cert.pem"); let cert = X509::from_pem(cert).unwrap(); Loading Loading @@ -397,7 +399,9 @@ mod tests { assert!(content.is_none()); } /// https://marc.info/?l=openbsd-cvs&m=166602943014106&w=2 #[test] #[cfg_attr(all(libressl360, not(libressl361)), ignore)] fn signers() { let cert = include_bytes!("../test/cert.pem"); let cert = X509::from_pem(cert).unwrap(); Loading Loading
openssl/build.rs +8 −0 Original line number Diff line number Diff line Loading @@ -94,5 +94,13 @@ fn main() { if version >= 0x3_05_00_00_0 { println!("cargo:rustc-cfg=libressl350"); } if version >= 0x3_06_00_00_0 { println!("cargo:rustc-cfg=libressl360"); } if version >= 0x3_06_01_00_0 { println!("cargo:rustc-cfg=libressl361"); } } }
openssl/src/pkcs7.rs +4 −0 Original line number Diff line number Diff line Loading @@ -361,7 +361,9 @@ mod tests { assert_eq!(content.expect("should be non-empty"), message.as_bytes()); } /// https://marc.info/?l=openbsd-cvs&m=166602943014106&w=2 #[test] #[cfg_attr(all(libressl360, not(libressl361)), ignore)] fn sign_verify_test_normal() { let cert = include_bytes!("../test/cert.pem"); let cert = X509::from_pem(cert).unwrap(); Loading Loading @@ -397,7 +399,9 @@ mod tests { assert!(content.is_none()); } /// https://marc.info/?l=openbsd-cvs&m=166602943014106&w=2 #[test] #[cfg_attr(all(libressl360, not(libressl361)), ignore)] fn signers() { let cert = include_bytes!("../test/cert.pem"); let cert = X509::from_pem(cert).unwrap(); Loading