8195119: Fine-tune output text in keytool
authorweijun
Wed, 17 Jan 2018 07:55:20 +0800
changeset 48539 20ed1cebe5f8
parent 48538 82c3d4173a53
child 48540 221cf8307606
8195119: Fine-tune output text in keytool Reviewed-by: mullan
src/java.base/share/classes/sun/security/tools/keytool/Resources.java
--- a/src/java.base/share/classes/sun/security/tools/keytool/Resources.java	Tue Jan 16 22:24:20 2018 +0000
+++ b/src/java.base/share/classes/sun/security/tools/keytool/Resources.java	Wed Jan 17 07:55:20 2018 +0800
@@ -462,7 +462,7 @@
         {"with.weak", "%s (weak)"},
         {"key.bit", "%1$d-bit %2$s key"},
         {"key.bit.weak", "%1$d-bit %2$s key (weak)"},
-        {"unknown.size.1", "unknown size %s key"},
+        {"unknown.size.1", "%s key of unknown size"},
         {".PATTERN.printX509Cert.with.weak",
                 "Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t SHA1: {5}\n\t SHA256: {6}\nSignature algorithm name: {7}\nSubject Public Key Algorithm: {8}\nVersion: {9}"},
         {"PKCS.10.with.weak",