File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ def _check_hashes_obj(file_object, trusted_hashes):
860
860
861
861
# Raise an exception if any of the hashes are incorrect.
862
862
if trusted_hash != computed_hash :
863
- raise sslib_exceptions .BadHashError (trusted_hash , computed_hash )
863
+ raise exceptions .BadHashError (trusted_hash , computed_hash )
864
864
865
865
logger .info (
866
866
"The file's " + algorithm + " hash is" " correct: " + trusted_hash
@@ -881,7 +881,7 @@ def _check_hashes(file_content, trusted_hashes):
881
881
882
882
# Raise an exception if any of the hashes are incorrect.
883
883
if trusted_hash != computed_hash :
884
- raise sslib_exceptions .BadHashError (trusted_hash , computed_hash )
884
+ raise exceptions .BadHashError (trusted_hash , computed_hash )
885
885
886
886
logger .info (
887
887
"The file's " + algorithm + " hash is" " correct: " + trusted_hash
You can’t perform that action at this time.
0 commit comments