On Sun, 22 Nov 2026 22:53:05 GMT, Weijun Wang <[email protected]> wrote:

>> Daisuke Yamazaki has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Private key fix
>
> src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp line 1933:
> 
>> 1931:             __leave;
>> 1932:         }
>> 1933: 
> 
> Similar question on why you don't use location to determine the `keysetType`.

Thank you for pointing that out.
Existing entries may have a certificate in `LOCALMACHINE` but a private key in 
`CURRENTUSER`.
Using the provider handle let us determine the key’s actual location and delete 
the correct container.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33785#discussion_r4678819551

Reply via email to