diff options
| author | Benjamin Fry <[email protected]> | 2017-03-19 00:47:22 -0700 |
|---|---|---|
| committer | Bastian Köcher <[email protected]> | 2018-03-07 13:42:39 +0100 |
| commit | 3595ff9e5170f6ef396f579e7e366ebe6ecb0a1f (patch) | |
| tree | d763423c1c1a469b0299afbecd7ccd05b7a28c60 /openssl | |
| parent | add verify_cert and store_context_builder (diff) | |
| download | rust-openssl-3595ff9e5170f6ef396f579e7e366ebe6ecb0a1f.tar.xz rust-openssl-3595ff9e5170f6ef396f579e7e366ebe6ecb0a1f.zip | |
Fix memory mgmt
Diffstat (limited to 'openssl')
| -rw-r--r-- | openssl/src/x509/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/x509/tests.rs b/openssl/src/x509/tests.rs index e91a039b..a94c40bd 100644 --- a/openssl/src/x509/tests.rs +++ b/openssl/src/x509/tests.rs @@ -304,7 +304,7 @@ fn test_verify_cert() { let store = store_bldr.build(); 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(); } |