Minor typos (#50371)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-01-15 17:07:00 +05:30 committed by John R Barker
commit 4817dcd0fc
9 changed files with 10 additions and 11 deletions

View file

@ -95,7 +95,7 @@ class CryptHash(BaseHash):
def _rounds(self, rounds):
if rounds == self.algo_data.implicit_rounds:
# Passlib does not include the rounds if it is the same as implict_rounds.
# Passlib does not include the rounds if it is the same as implicit_rounds.
# Make crypt lib behave the same, by not explicitly specifying the rounds in that case.
return None
else:
@ -155,7 +155,7 @@ class PasslibHash(BaseHash):
return None
def _hash(self, secret, salt, salt_size, rounds):
# Not every hash algorithm supports every paramter.
# Not every hash algorithm supports every parameter.
# Thus create the settings dict only with set parameters.
settings = {}
if salt: