Index: remoting/protocol/ssl_hmac_channel_authenticator.cc |
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.cc b/remoting/protocol/ssl_hmac_channel_authenticator.cc |
index 0fba84965f97b4e7ab18009f64ba46dc700b6e9c..b8da0895df341e368b77deeceb0abc9baac4563b 100644 |
--- a/remoting/protocol/ssl_hmac_channel_authenticator.cc |
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc |
@@ -86,7 +86,7 @@ void SslHmacChannelAuthenticator::SecureAndAuthenticate( |
result = server_socket->Handshake(base::Bind( |
&SslHmacChannelAuthenticator::OnConnected, base::Unretained(this))); |
} else { |
- cert_verifier_.reset(new net::CertVerifier()); |
+ cert_verifier_.reset(net::CertVerifier::CreateDefaultCertVerifier()); |
net::SSLConfig::CertAndStatus cert_and_status; |
cert_and_status.cert_status = net::CERT_STATUS_AUTHORITY_INVALID; |