Re: RFR: 8303607: SunMSCAPI provider leaks memory and keys

2023-03-06 Thread Weijun Wang
On Mon, 6 Mar 2023 21:27:07 GMT, Mat Carter wrote: > Use the correct API for freeing key handles when directed to by the output of > CryptAcquireCertificatePrivateKey [1]. > Specifically when [out] pfCallerFreeProvOrNCryptKey is true we test [out] > pdwKeySpec for the CERT_NCRYPT_KEY_SPEC flag.

Re: RFR: 8303607: SunMSCAPI provider leaks memory and keys

2023-03-06 Thread Mat Carter
Weijun, Would you be so kind as to review and sponsor this change for me given that you are familiar with my previous changes [1] (although this issue existed prior) Once this is in tip, I'll look to backport to 19, 17 and 11 Thanks in advance Mat [1] https://bugs.openjdk.org/browse/JDK-828485