Blame SOURCES/rh1842572-rsa_default_for_keytool.patch

2f6c9a
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
2f6c9a
--- openjdk.orig/src/java.base/share/classes/sun/security/tools/keytool/Main.java
2f6c9a
+++ openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java
c3e128
@@ -1135,7 +1135,7 @@
2f6c9a
             }
2f6c9a
         } else if (command == GENKEYPAIR) {
2f6c9a
             if (keyAlgName == null) {
2f6c9a
-                keyAlgName = "DSA";
2f6c9a
+                keyAlgName = "RSA";
2f6c9a
             }
c3e128
             doGenKeyPair(alias, dname, keyAlgName, keysize, groupName, sigAlgName);
2f6c9a
             kssave = true;