aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hmac.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/hmac.rs')
-rw-r--r--src/crypto/hmac.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/hmac.rs b/src/crypto/hmac.rs
index 16be0f29..b2df4ea0 100644
--- a/src/crypto/hmac.rs
+++ b/src/crypto/hmac.rs
@@ -19,6 +19,7 @@ use crypto::hash;
#[allow(dead_code)]
#[allow(non_camel_case_types)]
+#[repr(C)]
pub struct HMAC_CTX {
md: *mut hash::EVP_MD,
md_ctx: hash::EVP_MD_CTX,
@@ -37,6 +38,7 @@ extern {
}
#[allow(non_camel_case_types)]
+#[repr(C)]
struct ENGINE;
pub struct HMAC {