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

Issue 2176413002: Enable Expect-Staple in SSLClientSocket. (Closed)

Created:
4 years, 5 months ago by dadrian
Modified:
4 years, 4 months ago
Reviewers:
svaldez, Ryan Sleevi, estark
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable Expect-Staple in SSLClientSocket. In TransportSecurityState, set |enable_static_expect_staple_| to true by default. Update SSLClientSocket to call TransportSecurityState::ProcessExpectStaple. Implements operator== for OCSPVerifyResult, to make sure OCSP data is not accidentally lost. In ssl_client_socket_impl.cc, this also removes the if (|signed_certificate_timestamps_enabled_) check around extracting the OCSP response and setting the UMA_HISTOGRAM_BOOLEAN("Net.OCSPResponseStapled"). Since SCTs are always enabled, this if statement was a noop. This does not enable Expect-Staple for QUIC. See https://crbug.com/631101 BUG=598021 Committed: https://crrev.com/d476e65cb521b5da146dbdd51bde4fafdaa37468 Cr-Commit-Position: refs/heads/master@{#407921}

Patch Set 1 #

Patch Set 2 : Fix Expect-Staple on release builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -38 lines) Patch
M net/cert/cert_verify_result.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/cert/ocsp_verify_result.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M net/cert/ocsp_verify_result.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M net/http/transport_security_state.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/transport_security_state_unittest.cc View 7 chunks +10 lines, -8 lines 0 comments Download
M net/quic/quic_crypto_client_stream.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 5 chunks +16 lines, -27 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 2 chunks +106 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
dadrian
The offending line was: DCHECK(GetSSLInfo(&ssl_info)); This does not get ran on builds where DCHECK is ...
4 years, 4 months ago (2016-07-26 20:10:12 UTC) #3
Ryan Sleevi
lgtm
4 years, 4 months ago (2016-07-26 20:19:50 UTC) #4
svaldez
lgtm
4 years, 4 months ago (2016-07-26 20:21:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2176413002/20001
4 years, 4 months ago (2016-07-26 20:22:48 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-26 21:33:51 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 21:35:24 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d476e65cb521b5da146dbdd51bde4fafdaa37468
Cr-Commit-Position: refs/heads/master@{#407921}

Powered by Google App Engine
This is Rietveld 408576698