mirror of https://github.com/apache/cloudstack.git
parent
a9d1d13878
commit
402ee953b2
|
|
@ -293,7 +293,7 @@ public class DownloadManagerImpl implements DownloadManager {
|
|||
}
|
||||
byte[] md5sum = digest.digest();
|
||||
BigInteger bigInt = new BigInteger(1, md5sum);
|
||||
checksum = String.format("%032x",bigInt.toString(16));
|
||||
checksum = String.format("%032x",bigInt);
|
||||
return checksum;
|
||||
}catch(IOException e) {
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue