RFR: JDK-8293808: mscapi destroyKeyContainer enhance KeyStoreException: Access is denied exception [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Sep 16 14:30:44 UTC 2022


On Fri, 16 Sep 2022 13:33:59 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add errcode output to ThrowException
>
> src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp line 165:
> 
>> 163:         strcpy(szMessage, "Unknown error");
>> 164:     }
>> 165:     snprintf(szMessage2, sizeof(szMessage2), "error %lu, %s", msg, dwError, szMessage);
> 
> `msg` is from nowhere.

Sorry, had to remove msg you are correct of course ...

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

PR: https://git.openjdk.org/jdk/pull/10280



More information about the security-dev mailing list