support fips-cpython and maybe make-sfx on macos

This commit is contained in:
ed 2022-08-12 16:36:20 +02:00
parent ad18b6e15e
commit f62dd0e3cc
4 changed files with 5 additions and 9 deletions

View file

@ -213,11 +213,11 @@ def yieldfile(fn):
def hashfile(fn):
h = hashlib.md5()
h = hashlib.sha1()
for block in yieldfile(fn):
h.update(block)
return h.hexdigest()
return h.hexdigest()[:24]
def unpack():