| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
3beb880 has a bug in VerifyCallback when preverify is 1 and the cert chain has an verify error. If the error is UNABLE_TO_GET_ISSUER_CERT_LOCALLY, it leads an assertion error in finding rootCA. The whitelist check should be made only when the cert chain has no verify error with X509_V_OK. Fixes: nodejs#2061
|
LGTM |
Sorry, something went wrong.
3beb880 has a bug in VerifyCallback when preverify is 1 and the cert chain has an verify error. If the error is UNABLE_TO_GET_ISSUER_CERT_LOCALLY, it leads an assertion error in finding rootCA. The whitelist check should be made only when the cert chain has no verify error with X509_V_OK. Fixes: #2061 PR-URL: #2064 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
|
Thanks for revewing, Ben. Landed in 9e890fe. |
Sorry, something went wrong.
3beb880 has a bug in VerifyCallback when preverify is 1 and the cert chain has an verify error. If the error is UNABLE_TO_GET_ISSUER_CERT_LOCALLY, it leads an assertion error in finding rootCA. The whitelist check should be made only when the cert chain has no verify error with X509_V_OK. Fixes: nodejs#2061 PR-URL: nodejs#2064 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
| Back | FazBrowse Home | New Git URL |
3beb880 has a bug in VerifyCallback when preverify is 1 and the cert chain has an verify error. If the error is UNABLE_TO_GET_ISSUER_CERT_LOCALLY, it leads an assertion error in finding rootCA.
The whitelist check should be made only when the cert chain has no verify error with X509_V_OK.
Fixes: #2061
CI of https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/87/ are green except one failure of test-debug-port-from-cmdline.js on win2012r2. It's not related with this fix.
make test-internetare fine and the result of a test shown by the issue reporter of #2061 is below.
The error code is different because UNABLE_TO_GET_ISSUER_CERT_LOCALLY is overwritten by CERT_HAS_EXPIRED according to the order of verify checks.
R= @bnoordhuis