java-11-openjdk/keytool-default-rsa.patch

12 lines
549 B
Diff

--- openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java 2021-03-16 07:15:49.790093601 +0100
+++ openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java 2021-03-18 16:35:12.103576694 +0100
@@ -1135,7 +1135,7 @@
}
} else if (command == GENKEYPAIR) {
if (keyAlgName == null) {
- keyAlgName = "DSA";
+ keyAlgName = "RSA";
}
doGenKeyPair(alias, dname, keyAlgName, keysize, groupName, sigAlgName);
kssave = true;