Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8279066: entries.remove(entry) is useless in PKCS12KeyStore
Backport-of: fb623f1d2ee858fbc6edfeaaa702b5fcd832a0aa
  • Loading branch information
GoeLin committed Sep 19, 2022
1 parent 6cbaa7f commit 016bfd1
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -2220,11 +2220,6 @@ public synchronized void engineLoad(InputStream stream, char[] password)
/* Update existing KeyEntry in entries table */
if (chain.size() > 0) {
entry.chain = chain.toArray(new Certificate[chain.size()]);
} else {
// Remove private key entries where there is no associated
// certs. Most likely the keystore is loaded with a null
// password.
entries.remove(entry);
}
}
}
Expand Down

1 comment on commit 016bfd1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.