mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 18:04:02 -07:00
Minor typos (#50371)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
67b455a8ac
commit
4817dcd0fc
9 changed files with 10 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue