Skip to content

Commit

Permalink
Add different certificates with the same alias
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeybakhtin committed Feb 2, 2024
1 parent f6fd4ef commit 595903f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ private void createTrustedCertEntry(String alias, List<String> inputTrust,
// Check whether a certificate with same alias already exists and is the same
// If yes, we can return here - the existing entry must have the same
// properties and trust settings
if (entries.contains(alias.toLowerCase(Locale.ROOT))) {
if (entries.containsKey(alias.toLowerCase(Locale.ROOT))) {
int uniqueVal = 1;
String originalAlias = alias;
var co = entries.get(alias.toLowerCase(Locale.ROOT));
Expand Down

0 comments on commit 595903f

Please sign in to comment.