Skip to content

Conversation

@tniessen
Copy link
Member

Fail early if key parsing failed, don't try to construct a context out of it. Luckily, OpenSSL makes sure that we do not pass in a nullptr, so this is not a security issue. The observable behavior is still the same under certain assumptions about the error queue at the time, so it is difficult to add a test for this.

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

Fail early if key parsing failed, don't try to construct a context out of it.
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot nodejs-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 Feb 21, 2019
@tniessen
Copy link
Member Author

@tniessen
Copy link
Member Author

Thanks for reviewing, landed in 10c3db3.

@tniessen tniessen closed this Feb 23, 2019
tniessen added a commit that referenced this pull request Feb 23, 2019
Fail early if key parsing failed, don't try to construct a context out
of it.

PR-URL: #26238
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
addaleax pushed a commit that referenced this pull request Feb 25, 2019
Fail early if key parsing failed, don't try to construct a context out
of it.

PR-URL: #26238
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@BridgeAR BridgeAR mentioned this pull request Feb 26, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
Fail early if key parsing failed, don't try to construct a context out
of it.

PR-URL: #26238
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants