summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 2e8256101a..fcaeb99162 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -538,7 +538,7 @@ def md5_file(filename):
538 Return the hex string representation of the MD5 checksum of filename. 538 Return the hex string representation of the MD5 checksum of filename.
539 """ 539 """
540 import hashlib 540 import hashlib
541 return _hasher(hashlib.md5(), filename) 541 return _hasher(hashlib.new('MD5', usedforsecurity=False), filename)
542 542
543def sha256_file(filename): 543def sha256_file(filename):
544 """ 544 """