We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ab6fc commit 0b34604Copy full SHA for 0b34604
asm-commons/src/main/java/org/objectweb/asm/commons/SerialVersionUIDAdder.java
@@ -423,7 +423,7 @@ protected long computeSVUID() throws IOException {
423
// DontCheck(AbbreviationAsWordInName): can't be renamed (for backward binary compatibility).
424
protected byte[] computeSHAdigest(final byte[] value) {
425
try {
426
- return MessageDigest.getInstance("SHA").digest(value);
+ return MessageDigest.getInstance("SHA-1").digest(value);
427
} catch (NoSuchAlgorithmException e) {
428
throw new UnsupportedOperationException(e);
429
}
0 commit comments