diff options
| author | Benjamin Fry <[email protected]> | 2017-03-23 22:11:23 -0700 |
|---|---|---|
| committer | Bastian Köcher <[email protected]> | 2018-03-07 13:54:15 +0100 |
| commit | a1cfde765a2a63798411ce4d518b8d32c085ffbf (patch) | |
| tree | bf7fe6506cc9d069965b0fb9591a80d02535ba85 /openssl-sys/src | |
| parent | restructure to self contained function (diff) | |
| download | rust-openssl-a1cfde765a2a63798411ce4d518b8d32c085ffbf.tar.xz rust-openssl-a1cfde765a2a63798411ce4d518b8d32c085ffbf.zip | |
add cleanup ffi to store context
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index c29b60e8..3e5b3dd6 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2640,6 +2640,7 @@ extern "C" { pub fn X509_STORE_set_default_paths(store: *mut X509_STORE) -> c_int; pub fn X509_STORE_CTX_new() -> *mut X509_STORE_CTX; + pub fn X509_STORE_CTX_cleanup(ctx: *mut X509_STORE_CTX); pub fn X509_STORE_CTX_init(ctx: *mut X509_STORE_CTX, store: *mut X509_STORE, x509: *mut X509, chain: *mut stack_st_X509) -> c_int; pub fn X509_STORE_CTX_free(ctx: *mut X509_STORE_CTX); pub fn X509_STORE_CTX_get_current_cert(ctx: *mut X509_STORE_CTX) -> *mut X509; |