Skip to content

Conversation

@codebytere
Copy link
Member

@codebyterecodebytere 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.

@codebyterecodebytere requested a review from jasnellJune 2, 2021 10:21
@github-actionsgithub-actionsbot 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
MemberAuthor

Landed in eb3a448

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]>
@codebyterecodebytere 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]>
@danielleadamsdanielleadams mentioned this pull request Jun 14, 2021
@richardlau
Copy link
Member

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

Sign up for freeto 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++.cryptoIssues and PRs related to the crypto subsystem.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@codebytere@nodejs-github-bot@richardlau@jasnell@addaleax@tniessen@bl-ue