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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 10272036: Fix the official build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.cc
===================================================================
--- net/socket/ssl_client_socket_nss.cc (revision 134754)
+++ net/socket/ssl_client_socket_nss.cc (working copy)
@@ -1766,8 +1766,9 @@
const std::string& host = host_and_port_.host();
TransportSecurityState::DomainState domain_state;
- if (transport_security_state_->HasPinsForHost(
- &domain_state, host, sni_available)) {
+ if (transport_security_state_->GetDomainState(host, sni_available,
+ &domain_state) &&
+ domain_state.HasPins()) {
if (!domain_state.IsChainOfPublicKeysPermitted(
server_cert_verify_result_->public_key_hashes)) {
const base::Time build_time = base::GetBuildTime();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698