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, 1 insertions, 1 deletions
diff --git a/src/crypto/hmac.rs b/src/crypto/hmac.rs
index b2df4ea0..88cd2c1f 100644
--- a/src/crypto/hmac.rs
+++ b/src/crypto/hmac.rs
@@ -46,7 +46,7 @@ pub struct HMAC {
len: uint,
}
-#[allow(non_snake_case_functions)]
+#[allow(non_snake_case)]
pub fn HMAC(ht: hash::HashType, key: &[u8]) -> HMAC {
unsafe {
let (evp, mdlen) = hash::evpmd(ht);