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

Cherry-picked from 6618101d.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
This commit is contained in:
Edison Su 2012-05-24 15:07:17 -07:00
parent 98fd82c129
commit 0ec679c359

View File

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