summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/jingle_stream_connector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/jingle_stream_connector.cc')
-rw-r--r--remoting/protocol/jingle_stream_connector.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/protocol/jingle_stream_connector.cc b/remoting/protocol/jingle_stream_connector.cc
index 59813ff..98e907f 100644
--- a/remoting/protocol/jingle_stream_connector.cc
+++ b/remoting/protocol/jingle_stream_connector.cc
@@ -40,9 +40,11 @@ net::SSLClientSocket* CreateSSLClientSocket(
// SSLClientSocket takes ownership of the adapter.
net::HostPortPair host_and_pair(JingleSession::kChromotingContentName, 0);
+ net::SSLClientSocketContext context;
+ context.cert_verifier = cert_verifier;
net::SSLClientSocket* ssl_socket =
net::ClientSocketFactory::GetDefaultFactory()->CreateSSLClientSocket(
- socket, host_and_pair, ssl_config, NULL, cert_verifier);
+ socket, host_and_pair, ssl_config, NULL, context);
return ssl_socket;
}