Commit 213de3ce authored by Charlie Li's avatar Charlie Li
Browse files

Ignore two PKCS#7 tests on LibreSSL 3.6.0 only, re-enable for 3.6.1

parent 85de37e6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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");
        }
    }
}
+4 −0
Original line number Diff line number Diff line
@@ -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();
@@ -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();