mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Minor typos (#50371)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
John R Barker
parent
67b455a8ac
commit
4817dcd0fc
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user