Skip to content

always call crypto cb when compiled in#6389

Merged
dgarske merged 5 commits intowolfSSL:masterfrom
JacobBarthelmeh:devid
May 11, 2023
Merged

always call crypto cb when compiled in#6389
dgarske merged 5 commits intowolfSSL:masterfrom
JacobBarthelmeh:devid

Conversation

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor

@JacobBarthelmeh JacobBarthelmeh commented May 8, 2023

To fix cases where a "find device ID" callback is set the code needs to always call down into the crypto callback function. In cases where it is INVALID_DEVID the callback may choose to override it.

ZD 15973

@JacobBarthelmeh JacobBarthelmeh self-assigned this May 8, 2023
@dgarske dgarske self-requested a review May 8, 2023 16:53
Copy link
Copy Markdown
Member

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wrap with HAVE_CRYPTOCB_FIND_CB as discussed. This will avoid any possible issues with PKCS11/Async.

@dgarske dgarske merged commit dbb5ee3 into wolfSSL:master May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants