Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected static void checkManifestEntry(final Entry<Path, String> entry, final
logger.debug(messages.getString("checking_checksums"), entry.getKey(), entry.getValue());
final String hash = Hasher.hash(entry.getKey(), messageDigest);
logger.debug("computed hash [{}] for file [{}]", hash, entry.getKey());
if(!hash.equals(entry.getValue())){
if(!hash.equalsIgnoreCase(entry.getValue())){
throw new CorruptChecksumException(messages.getString("corrupt_checksum_error"), entry.getKey(), algorithm, entry.getValue(), hash);
}
}
Expand Down