python/build/verify.py: support SHA256
This commit is contained in:
parent
10782f4c84
commit
e525465592
|
@ -31,6 +31,8 @@ def guess_digest_algorithm(digest):
|
|||
return hashlib.sha1
|
||||
elif l == 64:
|
||||
return hashlib.sha256
|
||||
elif l == 128:
|
||||
return hashlib.sha512
|
||||
else:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue