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

Reviewed-by: sheng.yang@citrix.com
This commit is contained in:
Edison Su 2012-05-24 15:07:17 -07:00
parent 7d9624d0b7
commit 29356b022c
1 changed files with 1 additions and 1 deletions

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;