diff options
| author | Steven Fackler <[email protected]> | 2013-11-16 20:21:48 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2013-11-16 20:21:48 -0800 |
| commit | f8be6415366927350c8874a4c3dc542622979408 (patch) | |
| tree | 2fef68adce0abae0fca4de4b8cb205a7d7448095 /ffi.rs | |
| parent | Switch docs to sfackler.com (diff) | |
| download | rust-openssl-f8be6415366927350c8874a4c3dc542622979408.tar.xz rust-openssl-f8be6415366927350c8874a4c3dc542622979408.zip | |
Start of x509 interface
Diffstat (limited to 'ffi.rs')
| -rw-r--r-- | ffi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ pub type SSL = c_void; pub type BIO = c_void; pub type BIO_METHOD = c_void; pub type X509_STORE_CTX = c_void; +pub type X509 = c_void; pub type CRYPTO_EX_DATA = c_void; pub type CRYPTO_EX_new = extern "C" fn(parent: *c_void, ptr: *c_void, @@ -62,6 +63,7 @@ extern "C" { pub fn X509_STORE_CTX_get_ex_data(ctx: *X509_STORE_CTX, idx: c_int) -> *c_void; + pub fn X509_STORE_CTX_get_current_cert(ct: *X509_STORE_CTX) -> *X509; pub fn SSL_new(ctx: *SSL_CTX) -> *SSL; pub fn SSL_free(ssl: *SSL); |