Skip to content

Conversation

@codebytere
Copy link
Member

Corrects cast for label as passed to EVP_PKEY_CTX_set0_rsa_oaep_label

This has already been done here and causes BoringSSL failures if not cast from void*.

@codebytere codebytere requested a review from jasnell June 4, 2021 09:18
@github-actions github-actions bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Jun 4, 2021
@codebytere codebytere requested a review from tniessen June 4, 2021 09:18
@codebytere codebytere force-pushed the fix-EVP_PKEY_CTX_set0_rsa_oaep_label-cast branch from f6e68b1 to d0e22e7 Compare June 4, 2021 09:25
Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

LGTM but we always use static_cast when possible – feel free to update the other use of this as well

@codebytere codebytere force-pushed the fix-EVP_PKEY_CTX_set0_rsa_oaep_label-cast branch from d0e22e7 to 474fa4f Compare June 5, 2021 17:27
@nodejs-github-bot
Copy link
Collaborator

codebytere added a commit that referenced this pull request Jun 6, 2021
PR-URL: #38926
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
@codebytere
Copy link
Member Author

Landed in d07c12f

@codebytere codebytere closed this Jun 6, 2021
@codebytere codebytere deleted the fix-EVP_PKEY_CTX_set0_rsa_oaep_label-cast branch June 6, 2021 19:21
targos pushed a commit that referenced this pull request Jun 11, 2021
PR-URL: #38926
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
@danielleadams danielleadams mentioned this pull request Jun 14, 2021
@richardlau
Copy link
Member

Doesn't land cleanly on v14.x-staging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants