FreeRTOS/corePKCS11

prvAddObjectToList does not update pxAppHandle when object is found

sbertin-telular opened this issue · 0 comments

In prvAddObjectToList, pxAppHandle is only modified when the object is not already in the list.

I found this calling C_GenerateKeyPair to replace an existing key that I had previously looked up. The returned handle was not set properly.