Skip to content


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 2e5287b commit 027be49
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -2266,11 +2266,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.
Expand Down

1 comment on commit 027be49

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.