| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
The DH_set0_key() in src/node_crypto.cc is a backwards compatibility shim for the function of the same name in openssl 1.1.0, where it returns int. |
Sorry, something went wrong.
Ah I see that now, thanks for clarifying! Is there a reason for not declaring the return type for the function pointer? I've added a commit with what I mean. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM with a suggestion.
Sorry, something went wrong.
There was a problem hiding this comment.
Since you're threading through the return value, you might as well CHECK_EQ(1, set_field(dh->dh, num));.
Sorry, something went wrong.
There was a problem hiding this comment.
Sounds good, I'll add the check. Thanks
Sorry, something went wrong.
This commit updates the set_field function pointer to return an int, and also updates the lambdas with a return statement.
Sorry, something went wrong.
This commit updates the set_field function pointer to return an int, and also updates the lambdas with a return statement. PR-URL: #17468 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit updates the set_field function pointer to return an int, and also updates the lambdas with a return statement. PR-URL: #17468 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit updates the set_field function pointer to return an int, and also updates the lambdas with a return statement. PR-URL: #17468 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
|
Should this be backported to v8.x-staging? If yes please follow the guide and raise a backport PR, if no let me know or add the dont-land-on label. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This commit updates the set_field function pointer to return an int, and
also updates the lambdas with a return statement.
Checklist
Affected core subsystem(s)
src