mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8281234: The -protected option is not always checked in keytool and jarsigner
Reviewed-by: hchao, mullan
This commit is contained in:
parent
d80f697182
commit
fc918a73d0
4 changed files with 198 additions and 4 deletions
|
@ -2185,7 +2185,7 @@ public class Main {
|
|||
&& !KeyStoreUtil.isWindowsKeyStore(storetype)) {
|
||||
storepass = getPass
|
||||
(rb.getString("Enter.Passphrase.for.keystore."));
|
||||
} else if (!token && storepass == null && prompt) {
|
||||
} else if (!token && storepass == null && prompt && !protectedPath) {
|
||||
storepass = getPass
|
||||
(rb.getString("Enter.Passphrase.for.keystore."));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue