-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: use more explicit return type in Sign::SignFinal() #23779
Conversation
Using the non-indexed variant of `std::get<>` broke Travis CI. Also, this allows us to be a bit more concise when returning from `SignFinal()` due to some error condition. Refs: nodejs#23427
CI: https://ci.nodejs.org/job/node-test-pull-request/18003/ (:heavy_check_mark:) Feel free to 👍 this comment to approve fast-tracking. (There’s also #23778, but I think it might be best to talk about those changes independently) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good idea, but I feel like I need to give it another look tomorrow.
@refack Done! |
IMHO this is not a clear cut case for fast-tracking, but it does resolve a regression, and the change itself has small footprint. So I'm 👍. |
This exposed a bug in our release cluster, the arm64 cross compiler (centos7-arm64) is using gcc4.8. |
Landed in 20282b1 |
Using the non-indexed variant of `std::get<>` broke Travis CI. Also, this allows us to be a bit more concise when returning from `SignFinal()` due to some error condition. Refs: #23427 PR-URL: #23779 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Using the non-indexed variant of `std::get<>` broke Travis CI. Also, this allows us to be a bit more concise when returning from `SignFinal()` due to some error condition. Refs: #23427 PR-URL: #23779 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Should this be backported to |
Using the non-indexed variant of `std::get<>` broke Travis CI. Also, this allows us to be a bit more concise when returning from `SignFinal()` due to some error condition. Refs: #23427 PR-URL: #23779 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Using the non-indexed variant of
std::get<>
broke Travis CI.Also, this allows us to be a bit more concise when returning
from
SignFinal()
due to some error condition.Refs: #23427
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes