diff options
| author | Valerii Hiora <[email protected]> | 2014-09-30 11:06:37 +0300 |
|---|---|---|
| committer | Valerii Hiora <[email protected]> | 2014-10-02 10:15:50 +0300 |
| commit | fbb359720b24266938284edcd5cec46744379f1c (patch) | |
| tree | 69648c3ed31e085403cd2a653fc869dc281eaba7 /src/ffi.rs | |
| parent | Merge pull request #57 from vhbit/mut-cleanup (diff) | |
| download | rust-openssl-fbb359720b24266938284edcd5cec46744379f1c.tar.xz rust-openssl-fbb359720b24266938284edcd5cec46744379f1c.zip | |
User-provided data in verify
Diffstat (limited to 'src/ffi.rs')
| -rw-r--r-- | src/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -372,6 +372,7 @@ extern "C" { pub fn SSL_CTX_free(ctx: *mut SSL_CTX); pub fn SSL_CTX_set_verify(ctx: *mut SSL_CTX, mode: c_int, verify_callback: Option<extern fn(c_int, *mut X509_STORE_CTX) -> c_int>); + pub fn SSL_CTX_set_verify_depth(ctx: *mut SSL_CTX, depth: c_int); pub fn SSL_CTX_load_verify_locations(ctx: *mut SSL_CTX, CAfile: *const c_char, CApath: *const c_char) -> c_int; pub fn SSL_CTX_get_ex_new_index(argl: c_long, argp: *const c_void, |