changeset 54890:54a8b7673afc

8218888: keytool -genkeypair should not have the -destalias option Reviewed-by: mullan
author weijun
date Wed, 13 Feb 2019 21:24:13 +0800
parents 4dab92cc7aed
children 38b6110d5db2
files src/java.base/share/classes/sun/security/tools/keytool/Main.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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),