invalid digest %s algorithm, thanks Jonathan
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-07-20 11:27:33) dev
|
||||
Version 2.00.0 (2012-07-20 12:47:01) dev
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ def get_digest(value):
|
||||
elif value == "sha512":
|
||||
return hashlib.sha512
|
||||
else:
|
||||
raise ValueError("Invalid digest algorithm")
|
||||
raise ValueError("Invalid digest algorithm: %s" % value)
|
||||
|
||||
DIGEST_ALG_BY_SIZE = {
|
||||
128/4: 'md5',
|
||||
|
||||
Reference in New Issue
Block a user