On Sun, 21 May 2023 21:29:50 GMT, Christoph Langer <clan...@openjdk.org> wrote:
>> src/java.base/macosx/classes/apple/security/KeychainStore.java line 808: >> >>> 806: // Check whether a certificate with same alias already >>> exists and is the same >>> 807: // If yes, we can return here - the existing entry must >>> have the same >>> 808: // properties and trust settings >> >> This is always true, right? I'm not sure how this could happen. > > This handles the case, when a certificate is in both, the login (user) and > system keychain. How do you know "the existing entry must have the same properties and trust settings"? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13945#discussion_r1201258508