Extends the test to verify the certificate two times

This commit is contained in:
Bastian Köcher 2018-03-08 12:10:29 +01:00
parent 810ddeb4ca
commit 1a0b085377
1 changed files with 2 additions and 0 deletions

View File

@ -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]