8218888: keytool -genkeypair should not have the -destalias option
authorweijun
Wed, 13 Feb 2019 21:24:13 +0800
changeset 53740 54a8b7673afc
parent 53739 4dab92cc7aed
child 53741 38b6110d5db2
8218888: keytool -genkeypair should not have the -destalias option Reviewed-by: mullan
src/java.base/share/classes/sun/security/tools/keytool/Main.java
--- a/src/java.base/share/classes/sun/security/tools/keytool/Main.java	Wed Feb 13 07:22:09 2019 -0500
+++ b/src/java.base/share/classes/sun/security/tools/keytool/Main.java	Wed Feb 13 21:24:13 2019 +0800
@@ -211,7 +211,7 @@
             STORETYPE, PROVIDERNAME, ADDPROVIDER, PROVIDERCLASS,
             PROVIDERPATH, V, PROTECTED),
         GENKEYPAIR("Generates.a.key.pair",
-            ALIAS, KEYALG, KEYSIZE, CURVENAME, SIGALG, DESTALIAS, DNAME,
+            ALIAS, KEYALG, KEYSIZE, CURVENAME, SIGALG, DNAME,
             STARTDATE, EXT, VALIDITY, KEYPASS, KEYSTORE,
             STOREPASS, STORETYPE, PROVIDERNAME, ADDPROVIDER,
             PROVIDERCLASS, PROVIDERPATH, V, PROTECTED),