Lib/Board Manager CRC check is now case insensitive. Fixes #2953

This commit is contained in:
Federico Fissore 2015-04-10 09:51:58 +02:00
parent dd50e6d349
commit 7d0ffe92b2
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class DownloadableContributionsDownloader {
onProgress(progress);
String checksum = contribution.getChecksum();
String algo = checksum.split(":")[0];
if (!FileHash.hash(outputFile, algo).equals(checksum)) {
if (!FileHash.hash(outputFile, algo).equalsIgnoreCase(checksum)) {
throw new Exception(_("CRC doesn't match. File is corrupted."));
}