Blame SOURCES/rh1842572-rsa_default_for_keytool.patch

08628f
diff --git openjdk.orig/src/java.base/share/classes/sun/security/tools/keytool/Main.java openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java
08628f
--- openjdk.orig/src/java.base/share/classes/sun/security/tools/keytool/Main.java
08628f
+++ openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java
700dcb
@@ -1135,7 +1135,7 @@
08628f
             }
08628f
         } else if (command == GENKEYPAIR) {
08628f
             if (keyAlgName == null) {
08628f
-                keyAlgName = "DSA";
08628f
+                keyAlgName = "RSA";
08628f
             }
700dcb
             doGenKeyPair(alias, dname, keyAlgName, keysize, groupName, sigAlgName);
08628f
             kssave = true;