diff options
Diffstat (limited to 'srp/src')
-rw-r--r-- | srp/src/client.rs | 3 | ||||
-rw-r--r-- | srp/src/lib.rs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/srp/src/client.rs b/srp/src/client.rs index a9f7564..04f4807 100644 --- a/srp/src/client.rs +++ b/srp/src/client.rs @@ -56,6 +56,7 @@ //! let pwd_verifier = client.get_password_verifier(&private_key); //! conn.send_registration_data(username, salt, pwd_verifier); //! ``` + use std::marker::PhantomData; use digest::{Digest, Output}; @@ -184,6 +185,7 @@ impl<'a, D: Digest> SrpClient<'a, D> { } /// Process server reply to the handshake with username and salt. + #[allow(non_snake_case)] pub fn process_reply_with_username_and_salt( self, username: &[u8], @@ -225,7 +227,6 @@ impl<'a, D: Digest> SrpClient<'a, D> { d.update(&key.to_vec()); d.finalize() }; - let x = proof.to_vec().as_slice(); // M2 = H(A, M1, K) let server_proof = { diff --git a/srp/src/lib.rs b/srp/src/lib.rs index 132851d..cec6f36 100644 --- a/srp/src/lib.rs +++ b/srp/src/lib.rs @@ -63,6 +63,8 @@ //! //! [1]: https://en.wikipedia.org/wiki/Secure_Remote_Password_protocol //! [2]: https://tools.ietf.org/html/rfc5054 + +#![allow(clippy::many_single_char_names)] #![doc(html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png")] pub mod client; |