Blame SOURCES/rh1842572-rsa_default_for_keytool.patch

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