Patch for an Issue #1020

This commit is contained in:
Miroslav Stampar 2014-12-13 14:08:37 +01:00
parent 25196b4572
commit 9c225557d1

View File

@ -329,7 +329,7 @@ def wordpress_passwd(password, salt, count, prefix, uppercase=False):
return output return output
cipher = md5(salt) cipher = md5(salt)
cipher.update(password) cipher.update(password.encode(UNICODE_ENCODING))
hash_ = cipher.digest() hash_ = cipher.digest()
for i in xrange(count): for i in xrange(count):