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

Unified Diff: net/spdy/spdy_session.cc

Issue 2735733003: Disable commonName matching for certificates (Closed)
Patch Set: Created 3 years, 9 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/quic/test_tools/mock_crypto_client_stream.cc ('k') | net/ssl/ssl_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 431022624477c12cdb079655abc77cb9b7723f39..07823872e3f1e3691421ddf9601ae7259c5f72c1 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -690,8 +690,7 @@ bool SpdySession::CanPool(TransportSecurityState* transport_security_state,
return false;
}
- bool unused = false;
- if (!ssl_info.cert->VerifyNameMatch(new_hostname, &unused))
+ if (!ssl_info.cert->VerifyNameMatch(new_hostname, false))
return false;
std::string pinning_failure_log;
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream.cc ('k') | net/ssl/ssl_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698