diff options
| author | Steven Fackler <[email protected]> | 2014-09-04 18:59:38 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-09-04 18:59:38 -0700 |
| commit | f7433cd25e8f4060eaa74bbb68796a51fa202798 (patch) | |
| tree | 367957a9eb7fe8e3a7d814b94e625c5e581f6883 /src/crypto | |
| parent | Merge pull request #36 from andrew-d/andrew-add-deriving (diff) | |
| parent | Fix lints for non snake-case functions (diff) | |
| download | rust-openssl-f7433cd25e8f4060eaa74bbb68796a51fa202798.tar.xz rust-openssl-f7433cd25e8f4060eaa74bbb68796a51fa202798.zip | |
Merge pull request #37 from andrew-d/andrew-fix-lints
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); |