From 2e168ab820384c543faaa4eabf4004dfc1670851 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 9 Nov 2013 17:27:17 -0800 Subject: Update for latest master and fix segfault --- ffi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffi.rs') diff --git a/ffi.rs b/ffi.rs index deb552e7..7711032c 100644 --- a/ffi.rs +++ b/ffi.rs @@ -11,10 +11,10 @@ pub type BIO_METHOD = c_void; pub type X509_STORE_CTX = c_void; pub type CRYPTO_EX_DATA = c_void; -pub type CRYPTO_EX_new = Option c_int>; + -> c_int; pub type CRYPTO_EX_dup = extern "C" fn(to: *CRYPTO_EX_DATA, from: *CRYPTO_EX_DATA, from_d: *c_void, idx: c_int, argl: c_long, argp: *c_void) -- cgit v1.2.3