Blame SOURCES/rh1582504-rsa_default_for_keytool.patch

5781ba
diff --git openjdk.orig/jdk/src/share/classes/sun/security/tools/keytool/Main.java openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java
5781ba
--- openjdk.orig/jdk/src/share/classes/sun/security/tools/keytool/Main.java
5781ba
+++ openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java
5781ba
@@ -1004,7 +1004,7 @@
5781ba
             }
5781ba
         } else if (command == GENKEYPAIR) {
5781ba
             if (keyAlgName == null) {
5781ba
-                keyAlgName = "DSA";
5781ba
+                keyAlgName = "RSA";
5781ba
             }
5781ba
             doGenKeyPair(alias, dname, keyAlgName, keysize, sigAlgName);
5781ba
             kssave = true;