summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jingle/glue/xmpp_client_socket_factory.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/jingle/glue/xmpp_client_socket_factory.cc b/jingle/glue/xmpp_client_socket_factory.cc
index 13749e1..b9e040d 100644
--- a/jingle/glue/xmpp_client_socket_factory.cc
+++ b/jingle/glue/xmpp_client_socket_factory.cc
@@ -46,6 +46,9 @@ net::SSLClientSocket* XmppClientSocketFactory::CreateSSLClientSocket(
net::SSLClientSocketContext context;
context.cert_verifier =
request_context_getter_->GetURLRequestContext()->cert_verifier();
+ context.transport_security_state = request_context_getter_->
+ GetURLRequestContext()->transport_security_state();
+ DCHECK(context.transport_security_state);
// TODO(rkn): context.server_bound_cert_service is NULL because the
// ServerBoundCertService class is not thread safe.
return client_socket_factory_->CreateSSLClientSocket(