]> git.lizzy.rs Git - PAKEs.git/blobdiff - srp/src/types.rs
Fix spelling errors.
[PAKEs.git] / srp / src / types.rs
index 6ae8595093341199566b2daeb3899fcbb02fe1c4..692421fd40e808a7af1c230a583a8dc1d60d32be 100644 (file)
@@ -4,7 +4,7 @@ use digest::Digest;
 use num::BigUint;
 use std::{error, fmt};
 
-/// SRP authentification error.
+/// SRP authentication error.
 #[derive(Debug, Copy, Clone, Eq, PartialEq)]
 pub struct SrpAuthError {
     pub(crate) description: &'static str,
@@ -12,7 +12,7 @@ pub struct SrpAuthError {
 
 impl fmt::Display for SrpAuthError {
     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
-        write!(f, "SRP authentification error")
+        write!(f, "SRP authentication error")
     }
 }