Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Issue 300103011: Use X509_STORE_CTX::untrusted, not X509_STORE_CTX::chain in CertVerifyCallback. (Closed)

Created:
6 years, 7 months ago by davidben
Modified:
6 years, 7 months ago
Reviewers:
agl, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Use 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/socket/ssl_client_socket_openssl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
davidben
This really should have automated tests, but that would require implementing renegotiate in tlslite, so ...
6 years, 7 months ago (2014-05-27 18:55:06 UTC) #1
Ryan Sleevi
lgtm
6 years, 7 months ago (2014-05-27 18:59:49 UTC) #2
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 7 months ago (2014-05-27 19:10:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/300103011/1
6 years, 7 months ago (2014-05-27 19:11:27 UTC) #4
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 22:28:41 UTC) #5
Message was sent while issue was closed.
Change committed as 273055

Powered by Google App Engine
This is Rietveld 408576698