Extends the test to verify the certificate two times
This commit is contained in:
parent
810ddeb4ca
commit
1a0b085377
|
|
@ -307,6 +307,8 @@ fn test_verify_cert() {
|
||||||
|
|
||||||
let mut context = X509StoreContext::new().unwrap();
|
let mut context = X509StoreContext::new().unwrap();
|
||||||
assert!(context.verify_cert(&store, &cert, &chain).is_ok());
|
assert!(context.verify_cert(&store, &cert, &chain).is_ok());
|
||||||
|
context.cleanup();
|
||||||
|
assert!(context.verify_cert(&store, &cert, &chain).is_ok());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue