Fix memory mgmt

This commit is contained in:
Benjamin Fry 2017-03-19 00:47:22 -07:00 committed by Bastian Köcher
parent eb6296e892
commit 3595ff9e51
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ fn test_verify_cert() {
let store = store_bldr.build(); let store = store_bldr.build();
let store_ctx_bldr = X509StoreContext::builder().unwrap(); let store_ctx_bldr = X509StoreContext::builder().unwrap();
let store_ctx = store_ctx_bldr.build(store, cert, Stack::new().unwrap()).unwrap(); let store_ctx = store_ctx_bldr.build(&store, &cert, &Stack::new().unwrap()).unwrap();
store_ctx.verify_cert().unwrap(); store_ctx.verify_cert().unwrap();
} }