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

Unified Diff: net/quic/test_tools/mock_crypto_client_stream.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/chromium/quic_stream_factory_test.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_crypto_client_stream.cc
diff --git a/net/quic/test_tools/mock_crypto_client_stream.cc b/net/quic/test_tools/mock_crypto_client_stream.cc
index 25ba8684ce56332fa57f2655e97b0fd7c930beb6..0197307c03e111153f5f5704e22aa2c17b73ffd6 100644
--- a/net/quic/test_tools/mock_crypto_client_stream.cc
+++ b/net/quic/test_tools/mock_crypto_client_stream.cc
@@ -44,9 +44,8 @@ void MockCryptoClientStream::OnHandshakeMessage(
void MockCryptoClientStream::CryptoConnect() {
if (proof_verify_details_) {
- bool unused = false;
if (!proof_verify_details_->cert_verify_result.verified_cert
- ->VerifyNameMatch(server_id_.host(), &unused)) {
+ ->VerifyNameMatch(server_id_.host(), false)) {
handshake_confirmed_ = false;
encryption_established_ = false;
session()->connection()->CloseConnection(
« no previous file with comments | « net/quic/chromium/quic_stream_factory_test.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698