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 <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@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 <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@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