diff options
| author | Erik Johnston <[email protected]> | 2016-02-18 20:47:42 +0000 |
|---|---|---|
| committer | Erik Johnston <[email protected]> | 2016-02-29 20:14:48 +0000 |
| commit | 04cbf049c06fbc9b244bdbe22f244c0bc6e9c8b0 (patch) | |
| tree | 2678a41dd789e094ec2723f931412e9b8c3c20e9 /openssl-sys | |
| parent | Add support for SSL_CIPHER (diff) | |
| download | rust-openssl-04cbf049c06fbc9b244bdbe22f244c0bc6e9c8b0.tar.xz rust-openssl-04cbf049c06fbc9b244bdbe22f244c0bc6e9c8b0.zip | |
Add SSL_get_version
Diffstat (limited to 'openssl-sys')
| -rw-r--r-- | openssl-sys/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 5b57606f..eaa2188f 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -643,6 +643,7 @@ extern "C" { pub fn SSL_get_current_compression(ssl: *mut SSL) -> *const COMP_METHOD; pub fn SSL_get_peer_certificate(ssl: *mut SSL) -> *mut X509; pub fn SSL_get_ssl_method(ssl: *mut SSL) -> *const SSL_METHOD; + pub fn SSL_get_version(ssl: *mut SSL) -> *const c_char; pub fn SSL_state_string(ssl: *mut SSL) -> *const c_char; pub fn SSL_state_string_long(ssl: *mut SSL) -> *const c_char; @@ -656,8 +657,6 @@ extern "C" { pub fn SSL_CIPHER_get_bits(cipher: *const SSL_CIPHER, alg_bits: *const c_int) -> c_int; pub fn SSL_CIPHER_get_version(cipher: *const SSL_CIPHER) -> *const c_char; pub fn SSL_CIPHER_description(cipher: *const SSL_CIPHER, buf: *mut c_char, size: c_int) -> *const c_char; - pub fn SSL_CIPHER_get_cipher_nid(cipher: *const SSL_CIPHER) -> c_int; - pub fn SSL_CIPHER_get_digest_nid(cipher: *const SSL_CIPHER) -> c_int; pub fn SSL_CTX_new(method: *const SSL_METHOD) -> *mut SSL_CTX; pub fn SSL_CTX_free(ctx: *mut SSL_CTX); |