Blame SOURCES/rh1842572-rsa_default_for_keytool.patch

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