Skip to content
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

crypto: fix VerifyCallback in case of verify error #2064

Closed
wants to merge 1 commit into from

Commits on Jun 26, 2015

  1. crypto: fix VerifyCallback in case of verify error

    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
    Shigeki Ohtsu committed Jun 26, 2015
    Configuration menu
    Copy the full SHA
    f987fef View commit details
    Browse the repository at this point in the history