Skip to content

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Jun 2, 2021

Small cleanup - instead of calling OBJ_nid2sn(nid) and passing that result to EVP_get_cipherbyname, we can pass the nid directly to EVP_get_cipherbynid.

Works with BoringSSL and OpenSSL both.

@codebytere codebytere requested a review from jasnell June 2, 2021 10:21
@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 2, 2021
@nodejs-github-bot
Copy link
Collaborator

@codebytere
Copy link
Member Author

Landed in eb3a448

@codebytere codebytere closed this Jun 6, 2021
codebytere added a commit that referenced this pull request Jun 6, 2021
PR-URL: #38901
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@codebytere codebytere deleted the tiny-crypto-cleanup branch June 6, 2021 19:17
targos pushed a commit that referenced this pull request Jun 11, 2021
PR-URL: #38901
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Anna Henningsen <[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.

7 participants