diff options
| author | Bastian Köcher <[email protected]> | 2018-03-07 18:42:13 +0100 |
|---|---|---|
| committer | Bastian Köcher <[email protected]> | 2018-03-07 18:42:13 +0100 |
| commit | 9a8a1c752b05c0421a032f7f835e8f95ce15df47 (patch) | |
| tree | a7e9541caffff630f4cf920d6431d5cb55927fc2 /openssl-sys/src | |
| parent | Remove the x509 module-level example (diff) | |
| download | rust-openssl-9a8a1c752b05c0421a032f7f835e8f95ce15df47.tar.xz rust-openssl-9a8a1c752b05c0421a032f7f835e8f95ce15df47.zip | |
Adds `PKeyRef::get_id` to get the OID of a key
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 77f69188..78b683f4 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2023,6 +2023,7 @@ extern "C" { pub fn EVP_PKEY_get1_DH(k: *mut EVP_PKEY) -> *mut DH; pub fn EVP_PKEY_get1_EC_KEY(k: *mut EVP_PKEY) -> *mut EC_KEY; pub fn EVP_PKEY_cmp(a: *const EVP_PKEY, b: *const EVP_PKEY) -> c_int; + pub fn EVP_PKEY_id(pkey: *const EVP_PKEY) -> c_int; pub fn EVP_PKEY_new_mac_key( type_: c_int, e: *mut ENGINE, |