Fix memory mgmt
This commit is contained in:
parent
eb6296e892
commit
3595ff9e51
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue