diff options
| author | Steven Fackler <[email protected]> | 2016-04-16 20:47:32 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-04-16 20:47:32 -0700 |
| commit | c2e72f6641b27c9227c43690ee39b772d0edea2a (patch) | |
| tree | 5876844f22e8f43b98ad3c76b3bc82da0a901a8b /openssl-sys/src | |
| parent | Update for nightly changes (diff) | |
| download | rust-openssl-c2e72f6641b27c9227c43690ee39b772d0edea2a.tar.xz rust-openssl-c2e72f6641b27c9227c43690ee39b772d0edea2a.zip | |
Add SslContext::set_default_verify_paths
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 e9a99274..3f857121 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -673,6 +673,7 @@ extern "C" { 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_set_default_verify_paths(ctx: *mut SSL_CTX) -> c_int; pub fn SSL_CTX_get_ex_new_index(argl: c_long, argp: *const c_void, new_func: Option<CRYPTO_EX_new>, dup_func: Option<CRYPTO_EX_dup>, |