mirror of https://github.com/apache/cloudstack.git
fix the wrong md5sum check
This commit is contained in:
parent
66e3387b2a
commit
0307effcfa
|
|
@ -297,7 +297,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