diff options
| author | Steven Fackler <[email protected]> | 2013-10-05 20:36:45 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2013-10-05 20:36:45 -0700 |
| commit | e2be42aa53623b8c460ec247ec5d2df36503cd78 (patch) | |
| tree | b5109e0b6780940f5fb06ff4cbb118f772685892 /src/ssl/ffi.rs | |
| parent | Sketched out implementation (diff) | |
| download | rust-openssl-e2be42aa53623b8c460ec247ec5d2df36503cd78.tar.xz rust-openssl-e2be42aa53623b8c460ec247ec5d2df36503cd78.zip | |
Stuff roughly working
We can't shutdown in Drop since generic destructors are broken :(
Diffstat (limited to 'src/ssl/ffi.rs')
| -rw-r--r-- | src/ssl/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |