We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36d3bb3 commit 0b5ecd8Copy full SHA for 0b5ecd8
1 file changed
wolfcrypt/src/rsa.c
@@ -563,7 +563,7 @@ int wc_FreeRsaKey(RsaKey* key)
563
#endif
564
{
565
ret = wc_CryptoCb_Free(key->devId, WC_ALGO_TYPE_PK,
566
- WC_PK_TYPE_RSA, key);
+ WC_PK_TYPE_RSA, 0, key);
567
/* If callback wants standard free, it returns CRYPTOCB_UNAVAILABLE.
568
* Otherwise assume the callback handled cleanup. */
569
if (ret != WC_NO_ERR_TRACE(CRYPTOCB_UNAVAILABLE))
0 commit comments