CS-14826, CS-14996: fix the md5 checksum

This commit is contained in:
Edison Su 2012-05-24 15:07:17 -07:00
parent f6efcd39a3
commit e96de4bc28

View File

@ -293,7 +293,7 @@ public class DownloadManagerImpl implements DownloadManager {
}
byte[] md5sum = digest.digest();
BigInteger bigInt = new BigInteger(1, md5sum);
checksum = bigInt.toString(16);
checksum = String.format("%032x",bigInt.toString(16));
return checksum;
}catch(IOException e) {
return null;