mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8286069: keytool prints out wrong key algorithm for -importpass command
Reviewed-by: hchao, valeriep
This commit is contained in:
parent
efcd3d3a8f
commit
075ce8a0d0
2 changed files with 108 additions and 2 deletions
|
@ -1846,8 +1846,7 @@ public final class Main {
|
|||
if (verbose) {
|
||||
MessageFormat form = new MessageFormat(rb.getString(
|
||||
"Generated.keyAlgName.secret.key"));
|
||||
Object[] source =
|
||||
{useDefaultPBEAlgorithm ? "PBE" : secKey.getAlgorithm()};
|
||||
Object[] source = { "PBE" };
|
||||
System.err.println(form.format(source));
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue