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

Issue 13466020: Clean up comments and code for pin validation. (Closed)

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

Description

Clean up comments and code for pin validation. It should be crystal clear when, and why, pin validation is and is not performed. TEST=net_unittests; with an OFFICIAL_BUILD: can still connect to pinned sites, and https://pinningtest.appspot.com fails with net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192654

Patch Set 1 #

Total comments: 5

Patch Set 2 : Pedantry + fix UMA incorrectness #

Patch Set 3 : Oops, put the #ifdefs back in. #

Total comments: 2

Patch Set 4 : What spurious DLOGs? There were no spurious DLOGs. I don't know what you're talking about. #

Patch Set 5 : Handle error close to conditional. #

Patch Set 6 : Comments and code in the same order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -11 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 5 2 chunks +19 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
palmer
git cl upload early and often --- I haven't tried this on a Chrome build ...
7 years, 8 months ago (2013-04-02 23:12:56 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/13466020/diff/1/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/13466020/diff/1/net/socket/ssl_client_socket_nss.cc#newcode3466 net/socket/ssl_client_socket_nss.cc:3466: if (TransportSecurityState::IsBuildTimely() && I'm not so sure about moving ...
7 years, 8 months ago (2013-04-02 23:28:21 UTC) #2
palmer
> (TransportSecurityState::IsBuildTimely() && > I'm not so sure about moving this clause out, as it ...
7 years, 8 months ago (2013-04-03 00:07:05 UTC) #3
palmer
Tried the manual test on my build, and it works. Please let me know what ...
7 years, 8 months ago (2013-04-03 19:16:42 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/13466020/diff/1/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/13466020/diff/1/net/socket/ssl_client_socket_nss.cc#newcode3466 net/socket/ssl_client_socket_nss.cc:3466: if (TransportSecurityState::IsBuildTimely() && The only thing I'd do is ...
7 years, 8 months ago (2013-04-03 19:33:10 UTC) #5
palmer
https://codereview.chromium.org/13466020/diff/1/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/13466020/diff/1/net/socket/ssl_client_socket_nss.cc#newcode3466 net/socket/ssl_client_socket_nss.cc:3466: if (TransportSecurityState::IsBuildTimely() && > This is just pedantry though. ...
7 years, 8 months ago (2013-04-04 20:56:33 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/13466020/diff/11001/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/13466020/diff/11001/net/socket/ssl_client_socket_nss.cc#newcode3465 net/socket/ssl_client_socket_nss.cc:3465: server_cert_verify_result_.public_key_hashes)) { nit: The original form matches our common ...
7 years, 8 months ago (2013-04-04 21:24:02 UTC) #7
palmer
https://codereview.chromium.org/13466020/diff/11001/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/13466020/diff/11001/net/socket/ssl_client_socket_nss.cc#newcode3465 net/socket/ssl_client_socket_nss.cc:3465: server_cert_verify_result_.public_key_hashes)) { On 2013/04/04 21:24:02, Ryan Sleevi wrote: > ...
7 years, 8 months ago (2013-04-04 21:34:53 UTC) #8
Ryan Sleevi
lgtm
7 years, 8 months ago (2013-04-05 21:36:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/13466020/22001
7 years, 8 months ago (2013-04-05 21:48:23 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 23:54:47 UTC) #11
Message was sent while issue was closed.
Change committed as 192654

Powered by Google App Engine
This is Rietveld 408576698