Closed mrdeep1 closed 4 months ago
Same is true for int wc_InitRsaKey_ex(RsaKey* key, void* heap, int devId)
Thanks @mrdeep1 for the report. We will take a look.
See https://github.com/wolfSSL/wolfssl/pull/7485 for fix. Thank you for the report.
@dgarske Changes in #7485 make sense to me. I am not yet in a position to test out the wolfSSL PKCS11 code, but will regress check the rest of the libcoap usage of wolfSSL with this change.
Contact Details
No response
Version
Latest master
Description
$ ./configure --enable-all --enable-dtls13 --enable-pkcs11
Code in wc_ecc_init_ex() is testing for isPkcs11 in passed in
key
- which in just about every case is uninitialized.This (randomly set)
isPkcs11
is tested later in this functionNot sure how this should be fixed.
Reproduction steps
$ ./configure --enable-all --enable-dtls13 --enable-pkcs11
Relevant log output