Commit f7433cd2 authored by Steven Fackler's avatar Steven Fackler
Browse files

Merge pull request #37 from andrew-d/andrew-fix-lints

Fix lints for non snake-case functions
parents 4ff45bc8 1579173a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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() }
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ impl SslContext {
        }
    }

    #[allow(non_snake_case_functions)]
    #[allow(non_snake_case)]
    /// Specifies the file that contains trusted CA certificates.
    pub fn set_CA_file(&mut self, file: &str) -> Option<SslError> {
        let ret = file.with_c_str(|file| {