DescriptionUse X509_STORE_CTX::untrusted, not X509_STORE_CTX::chain in CertVerifyCallback.
The latter is always NULL since the certificate chain hasn't been verified yet.
BUG=375821
TEST=Visit https://www.imperialviolet.org/2014/03/03/triplehandshake.html on
Android; image still doesn't load.
TEST=Visit https://scripts.mit.edu:444/__scripts/certerror. Tap 'Cancel' on
the certificate prompt. Hit 'More' on the error page. Should show
ERR_SSL_PROTOCOL_ERROR, not ERR_SSL_SERVER_CERT_CHANGED.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273055
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|