Commit e5254655 authored by Max Kellermann's avatar Max Kellermann

python/build/verify.py: support SHA256

parent 10782f4c
...@@ -31,6 +31,8 @@ def guess_digest_algorithm(digest): ...@@ -31,6 +31,8 @@ def guess_digest_algorithm(digest):
return hashlib.sha1 return hashlib.sha1
elif l == 64: elif l == 64:
return hashlib.sha256 return hashlib.sha256
elif l == 128:
return hashlib.sha512
else: else:
return None return None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment