aboutsummaryrefslogtreecommitdiff
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorValerii Hiora <[email protected]>2014-09-30 11:06:37 +0300
committerValerii Hiora <[email protected]>2014-10-02 10:15:50 +0300
commitfbb359720b24266938284edcd5cec46744379f1c (patch)
tree69648c3ed31e085403cd2a653fc869dc281eaba7 /src/ffi.rs
parentMerge pull request #57 from vhbit/mut-cleanup (diff)
downloadrust-openssl-fbb359720b24266938284edcd5cec46744379f1c.tar.xz
rust-openssl-fbb359720b24266938284edcd5cec46744379f1c.zip
User-provided data in verify
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 5a8f753a..5f09fa85 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -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,