diff options
| author | Benjamin Saunders <[email protected]> | 2018-03-13 18:36:18 -0700 |
|---|---|---|
| committer | Benjamin Saunders <[email protected]> | 2018-03-16 20:33:23 -0700 |
| commit | 09b1fe9a0d3392b266e47fd1808617059e41c1c3 (patch) | |
| tree | d231a09965697980aea94c13a37a35755f7fc55d /openssl-sys/src/ossl110.rs | |
| parent | Merge pull request #864 from mlen/aes-ccm-bindings (diff) | |
| download | rust-openssl-09b1fe9a0d3392b266e47fd1808617059e41c1c3.tar.xz rust-openssl-09b1fe9a0d3392b266e47fd1808617059e41c1c3.zip | |
Expose additional cipher and digest accessors
Diffstat (limited to 'openssl-sys/src/ossl110.rs')
| -rw-r--r-- | openssl-sys/src/ossl110.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-sys/src/ossl110.rs b/openssl-sys/src/ossl110.rs index 580c3f72..96e9b1e3 100644 --- a/openssl-sys/src/ossl110.rs +++ b/openssl-sys/src/ossl110.rs @@ -367,4 +367,7 @@ extern "C" { pub fn SSL_extension_supported(ext_type: c_uint) -> c_int; pub fn ECDSA_SIG_get0(sig: *const ECDSA_SIG, pr: *mut *const BIGNUM, ps: *mut *const BIGNUM); pub fn ECDSA_SIG_set0(sig: *mut ECDSA_SIG, pr: *mut BIGNUM, ps: *mut BIGNUM) -> c_int; + + pub fn SSL_CIPHER_get_cipher_nid(c: *const ::SSL_CIPHER) -> c_int; + pub fn SSL_CIPHER_get_digest_nid(c: *const ::SSL_CIPHER) -> c_int; } |