Blame SOURCES/rh1842572-rsa_default_for_keytool.patch

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