13 lines
633 B
Diff
13 lines
633 B
Diff
|
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
|
||
|
--- 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
|
||
|
@@ -1122,7 +1122,7 @@
|
||
|
}
|
||
|
} else if (command == GENKEYPAIR) {
|
||
|
if (keyAlgName == null) {
|
||
|
- keyAlgName = "DSA";
|
||
|
+ keyAlgName = "RSA";
|
||
|
}
|
||
|
doGenKeyPair(alias, dname, keyAlgName, keysize, sigAlgName);
|
||
|
kssave = true;
|