diff options
| author | Steven Fackler <[email protected]> | 2015-11-11 22:35:11 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-11-16 20:16:01 -0800 |
| commit | f36f610d079df6053bedec8b00d7c3bdb376815d (patch) | |
| tree | f8f0ae1adab41bc57b4c9d7624f02d6547ac815f /openssl/src | |
| parent | Split stuff requiring a shim out to a separate crate (diff) | |
| download | rust-openssl-f36f610d079df6053bedec8b00d7c3bdb376815d.tar.xz rust-openssl-f36f610d079df6053bedec8b00d7c3bdb376815d.zip | |
Move HMAC_CTX_copy to sys-extras
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/crypto/hmac.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/crypto/hmac.rs b/openssl/src/crypto/hmac.rs index 474cbc8a..2c329c1b 100644 --- a/openssl/src/crypto/hmac.rs +++ b/openssl/src/crypto/hmac.rs @@ -170,7 +170,7 @@ impl Clone for HMAC { let mut ctx: ffi::HMAC_CTX; unsafe { ctx = ::std::mem::uninitialized(); - let r = ffi::HMAC_CTX_copy(&mut ctx, &self.ctx); + let r = ffi_extras::HMAC_CTX_copy(&mut ctx, &self.ctx); assert_eq!(r, 1); } HMAC { ctx: ctx, type_: self.type_, state: self.state } |