src: use more explicit return type in Sign::SignFinal()#23779
src: use more explicit return type in Sign::SignFinal()#23779addaleax wants to merge 2 commits intonodejs:masterfrom
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) |
refack
left a comment
There was a problem hiding this comment.
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 <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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 <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
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 <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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