RFR: 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0
Valerie Peng
valeriep at openjdk.org
Wed Apr 3 19:22:08 UTC 2024
On Wed, 3 Apr 2024 18:16:48 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
>> Not really, the intention is to continue with the C_GetFunctionList (or the method named by "getFunctionListStr").
>
> if that's the intention, then you shouldn't be using `ckAssertReturnValueOK`, which throws an exception if `rv` is anything other than `CK_ASSERT_OK`
Good point, I will change it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18588#discussion_r1550321724
More information about the security-dev
mailing list