Commit 1a0b0853 authored by Bastian Köcher's avatar Bastian Köcher
Browse files

Extends the test to verify the certificate two times

parent 810ddeb4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -307,6 +307,8 @@ fn test_verify_cert() {

    let mut context = X509StoreContext::new().unwrap();
    assert!(context.verify_cert(&store, &cert, &chain).is_ok());
    context.cleanup();
    assert!(context.verify_cert(&store, &cert, &chain).is_ok());
}

#[test]