Skip to content

tls: simplify errors using ThrowCryptoError - #31436

Closed
tniessen wants to merge 2 commits into
nodejs:masterfrom
tniessen:tls-simplify-errors-in-setkey
Closed

tls: simplify errors using ThrowCryptoError#31436
tniessen wants to merge 2 commits into
nodejs:masterfrom
tniessen:tls-simplify-errors-in-setkey

Conversation

@tniessen

Copy link
Copy Markdown
Member

Switching to a default message if err == 0 is already implemented in ThrowCryptoError. This should not cause any observable change in behavior.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@tniessentniessen added the tls Issues and PRs related to the tls subsystem. label Jan 21, 2020
@nodejs-github-botnodejs-github-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. labels Jan 21, 2020
@tniessentniessen added the errors Issues and PRs related to JavaScript errors originated in Node.js core. label Jan 21, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@tniessentniessen changed the title tls: simplify errors in SetKeytls: simplify errors using ThrowCryptoErrorJan 21, 2020
@tniessentniessen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 21, 2020
@tniessen

tniessen commented Jan 23, 2020

Copy link
Copy Markdown
MemberAuthor

Landed in ab6ab9c (was dd6be9fd0eede2219b8932df578e9646049d48ca), thanks for reviewing.

Had to force-push master because the commit message didn't match the PR title anymore, sorry about that.

@tniessen
tniessen deleted the tls-simplify-errors-in-setkey branch January 23, 2020 14:14
tniessen added a commit that referenced this pull request Jan 23, 2020
PR-URL: #31436
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
codebytere pushed a commit that referenced this pull request Feb 17, 2020
PR-URL: #31436
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@codebyterecodebytere mentioned this pull request Feb 17, 2020
codebytere pushed a commit that referenced this pull request Mar 15, 2020
PR-URL: #31436
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
codebytere pushed a commit that referenced this pull request Mar 17, 2020
PR-URL: #31436
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@codebyterecodebytere mentioned this pull request Mar 17, 2020
@tniessentniessen removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 14, 2021
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.errorsIssues and PRs related to JavaScript errors originated in Node.js core.tlsIssues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@tniessen@nodejs-github-bot@bnoordhuis@Trott@addaleax@cjihrig@devnexen