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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 19269012: Don't persist HPKP if PrivacyMode is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address codereview nit and fix compilation error in OFFICIAL_BUILD. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/socket_stream/socket_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.cc
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc
index acc1b0dee2e0af9f773f349b77691fb4e350a72e..24371a0d08859531a08779ad63772188fee0a59f 100644
--- a/net/socket/ssl_client_socket_nss.cc
+++ b/net/socket/ssl_client_socket_nss.cc
@@ -3442,7 +3442,7 @@ int SSLClientSocketNSS::DoVerifyCertComplete(int result) {
TransportSecurityState::DomainState domain_state;
if (transport_security_state_->GetDomainState(host, sni_available,
- &domain_state) &&
+ true, &domain_state) &&
domain_state.HasPublicKeyPins()) {
mef 2013/09/20 15:53:30 I'm not 100% sure that this is right thing to do h
if (!domain_state.CheckPublicKeyPins(
server_cert_verify_result_.public_key_hashes)) {
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/socket_stream/socket_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698