From e2be42aa53623b8c460ec247ec5d2df36503cd78 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 5 Oct 2013 20:36:45 -0700 Subject: Stuff roughly working We can't shutdown in Drop since generic destructors are broken :( --- src/ssl/ffi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ssl/ffi.rs') diff --git a/src/ssl/ffi.rs b/src/ssl/ffi.rs index e12bb3c2..f87625ba 100644 --- a/src/ssl/ffi.rs +++ b/src/ssl/ffi.rs @@ -37,9 +37,9 @@ externfn!(fn SSL_connect(ssl: *SSL) -> c_int) externfn!(fn SSL_get_error(ssl: *SSL, ret: c_int) -> c_int) externfn!(fn SSL_read(ssl: *SSL, buf: *c_void, num: c_int) -> c_int) externfn!(fn SSL_write(ssl: *SSL, buf: *c_void, num: c_int) -> c_int) +externfn!(fn SSL_shutdown(ssl: *SSL) -> c_int) externfn!(fn BIO_s_mem() -> *BIO_METHOD) externfn!(fn BIO_new(type_: *BIO_METHOD) -> *BIO) -externfn!(fn BIO_free(a: *BIO) -> c_int) externfn!(fn BIO_read(b: *BIO, buf: *c_void, len: c_int) -> c_int) externfn!(fn BIO_write(b: *BIO, buf: *c_void, len: c_int) -> c_int) -- cgit v1.2.3