diff options
| author | Steven Fackler <[email protected]> | 2016-08-09 22:52:12 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-08-09 22:52:12 -0700 |
| commit | 67b5b4d814066eaf0debbe3b95d68ae0d7b9226a (patch) | |
| tree | f8c2565e72f41cab21bead5aadadbbdb17dd7afe /openssl-sys/src | |
| parent | Fix build (diff) | |
| download | rust-openssl-67b5b4d814066eaf0debbe3b95d68ae0d7b9226a.tar.xz rust-openssl-67b5b4d814066eaf0debbe3b95d68ae0d7b9226a.zip | |
Make hmac support optional and remove openssl-sys-extras
rust-openssl no longer requires headers for the default feature set.
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 4dccc67e..55375d8d 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -801,6 +801,8 @@ extern "C" { pub fn HMAC_CTX_init(ctx: *mut HMAC_CTX); pub fn HMAC_CTX_cleanup(ctx: *mut HMAC_CTX); + #[cfg(feature = "hmac_clone")] + pub fn HMAC_CTX_copy(dst: *mut HMAC_CTX, src: *const HMAC_CTX) -> c_int; pub fn PEM_read_bio_DHparams(bio: *mut BIO, out: *mut *mut DH, callback: Option<PasswordCallback>, user_data: *mut c_void) -> *mut DH; |