diff options
| author | Steven Fackler <[email protected]> | 2015-05-04 10:19:13 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-05-04 10:19:13 -0700 |
| commit | fb2822d5c794c97faa3b59628a2b2b72a56b2b85 (patch) | |
| tree | e294575a84accf3f0f7cef46ce4917e1e32578e9 /openssl-sys/src/lib.rs | |
| parent | Abstract over AsRef<Path> (diff) | |
| parent | Move PKey comparison func to public_eq() (diff) | |
| download | rust-openssl-fb2822d5c794c97faa3b59628a2b2b72a56b2b85.tar.xz rust-openssl-fb2822d5c794c97faa3b59628a2b2b72a56b2b85.zip | |
Merge pull request #201 from manuels/pkey_cmp
Add comparison for PKeys
Diffstat (limited to 'openssl-sys/src/lib.rs')
| -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 53f22558..9365704e 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -433,6 +433,7 @@ extern "C" { pub fn EVP_PKEY_assign(pkey: *mut EVP_PKEY, typ: c_int, key: *const c_void) -> c_int; pub fn EVP_PKEY_get1_RSA(k: *mut EVP_PKEY) -> *mut RSA; pub fn EVP_PKEY_set1_RSA(k: *mut EVP_PKEY, r: *mut RSA) -> c_int; + pub fn EVP_PKEY_cmp(a: *const EVP_PKEY, b: *const EVP_PKEY) -> c_int; pub fn HMAC_CTX_init(ctx: *mut HMAC_CTX); pub fn HMAC_CTX_cleanup(ctx: *mut HMAC_CTX); |