Skip to content

Commit

Permalink
Compare sha256 case insensitive (#5306)
Browse files Browse the repository at this point in the history
  • Loading branch information
feliwir authored and memsharded committed Jun 6, 2019
1 parent 9f6d07f commit 551ddac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conans/client/tools/files.py
Expand Up @@ -148,7 +148,7 @@ def untargz(filename, destination=".", pattern=None):

def check_with_algorithm_sum(algorithm_name, file_path, signature):
real_signature = _generic_algorithm_sum(file_path, algorithm_name)
if real_signature != signature:
if real_signature != signature.lower():
raise ConanException("%s signature failed for '%s' file. \n"
" Provided signature: %s \n"
" Computed signature: %s" % (algorithm_name,
Expand Down

0 comments on commit 551ddac

Please sign in to comment.