mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +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
|
@ -1286,6 +1286,7 @@ public final class Main {
|
|||
kssave = true;
|
||||
} else if (command == LIST) {
|
||||
if (storePass == null
|
||||
&& !protectedPath
|
||||
&& !KeyStoreUtil.isWindowsKeyStore(storetype)
|
||||
&& !isPasswordlessKeyStore) {
|
||||
printNoIntegrityWarning();
|
||||
|
@ -1685,6 +1686,7 @@ public final class Main {
|
|||
throws Exception
|
||||
{
|
||||
if (storePass == null
|
||||
&& !protectedPath
|
||||
&& !KeyStoreUtil.isWindowsKeyStore(storetype)
|
||||
&& !isPasswordlessKeyStore) {
|
||||
printNoIntegrityWarning();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue