diff options
| author | Andrew Dunham <[email protected]> | 2014-09-04 17:55:35 -0700 |
|---|---|---|
| committer | Andrew Dunham <[email protected]> | 2014-09-04 17:55:35 -0700 |
| commit | 1579173a1018d7540629c2faeb0c0193437df64d (patch) | |
| tree | fa89bf73536069411cea9a18a65966a8cec81fba /src/crypto | |
| parent | Merge pull request #35 from Kroisse/master (diff) | |
| download | rust-openssl-1579173a1018d7540629c2faeb0c0193437df64d.tar.xz rust-openssl-1579173a1018d7540629c2faeb0c0193437df64d.zip | |
Fix lints for non snake-case functions
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/hash.rs | 1 | ||||
| -rw-r--r-- | src/crypto/hmac.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/hash.rs b/src/crypto/hash.rs index 2696e77b..6c9f33e4 100644 --- a/src/crypto/hash.rs +++ b/src/crypto/hash.rs @@ -129,6 +129,7 @@ mod tests { expected_output: String } + #[allow(non_snake_case)] fn HashTest(input: &str, output: &str) -> HashTest { HashTest { input: input.from_hex().unwrap(), expected_output: output.to_string() } 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); |