Blame SOURCES/rh1842572-rsa_default_for_keytool.patch

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