aboutsummaryrefslogtreecommitdiff
path: root/ssl/ffi.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-03-20 19:09:39 -0700
committerSteven Fackler <[email protected]>2014-03-20 19:09:39 -0700
commit761901d0e409304450a49d784bae989d125c68b2 (patch)
treeaf3fc7d28f78c8245c851edda27737e057c037fb /ssl/ffi.rs
parentClean up locking code a bit (diff)
downloadrust-openssl-761901d0e409304450a49d784bae989d125c68b2.tar.xz
rust-openssl-761901d0e409304450a49d784bae989d125c68b2.zip
Update for vec API changes
Diffstat (limited to 'ssl/ffi.rs')
-rw-r--r--ssl/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ffi.rs b/ssl/ffi.rs
index 021de3fa..c968c67d 100644
--- a/ssl/ffi.rs
+++ b/ssl/ffi.rs
@@ -124,7 +124,7 @@ extern "C" {
pub fn SSL_CTX_new(method: *SSL_METHOD) -> *SSL_CTX;
pub fn SSL_CTX_free(ctx: *SSL_CTX);
pub fn SSL_CTX_set_verify(ctx: *SSL_CTX, mode: c_int,
- verify_callback: Option<extern "C" fn(c_int, *X509_STORE_CTX) -> c_int>);
+ verify_callback: Option<extern fn(c_int, *X509_STORE_CTX) -> c_int>);
pub fn SSL_CTX_load_verify_locations(ctx: *SSL_CTX, CAfile: *c_char,
CApath: *c_char) -> c_int;
pub fn SSL_CTX_get_ex_new_index(argl: c_long, argp: *c_void,