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
2f6c9a
@@ -1122,7 +1122,7 @@
2f6c9a
             }
2f6c9a
         } else if (command == GENKEYPAIR) {
2f6c9a
             if (keyAlgName == null) {
2f6c9a
-                keyAlgName = "DSA";
2f6c9a
+                keyAlgName = "RSA";
2f6c9a
             }
2f6c9a
             doGenKeyPair(alias, dname, keyAlgName, keysize, sigAlgName);
2f6c9a
             kssave = true;