a wrapper ignoring FIPS for hashlib.md5
This commit is contained in:
parent
0a61104280
commit
a893e8bf2b
9 changed files with 29 additions and 19 deletions
|
|
@ -333,7 +333,7 @@ class WindowsBuild(object):
|
|||
elif checksum_type == 'sha256':
|
||||
checksum = hashlib.sha256()
|
||||
elif checksum_type == 'md5':
|
||||
checksum = hashlib.md5()
|
||||
checksum = md5_constructor.md5() # noqa: F821
|
||||
else:
|
||||
raise BuildError('Unknown checksum type %s for %s' % ( # noqa: F821
|
||||
checksum_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue