Remove pointless local assign of self._password (sasl.scram)
This commit is contained in:
parent
90b540d5dc
commit
cbdd8d6fc9
1 changed files with 1 additions and 2 deletions
|
@ -55,9 +55,8 @@ class SCRAM(object):
|
|||
nonce = pieces[b"r"]
|
||||
salt = base64.b64decode(pieces[b"s"])
|
||||
iterations = pieces[b"i"]
|
||||
password = self._password
|
||||
|
||||
salted_password = hashlib.pbkdf2_hmac(self._algo, password, salt,
|
||||
salted_password = hashlib.pbkdf2_hmac(self._algo, self._password, salt,
|
||||
int(iterations), dklen=None)
|
||||
self._salted_password = salted_password
|
||||
|
||||
|
|
Loading…
Reference in a new issue