| Index: jingle/notifier/communicator/ssl_socket_adapter.cc
|
| diff --git a/jingle/notifier/communicator/ssl_socket_adapter.cc b/jingle/notifier/communicator/ssl_socket_adapter.cc
|
| index 713ea6e94cb614606ab0defcacf5f202098cd879..ea7d740932d048dfed76fb8d8d29d3e85a658b81 100644
|
| --- a/jingle/notifier/communicator/ssl_socket_adapter.cc
|
| +++ b/jingle/notifier/communicator/ssl_socket_adapter.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/message_loop.h"
|
| #include "net/base/address_list.h"
|
| +#include "net/base/host_port_pair.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/ssl_config_service.h"
|
| #include "net/base/sys_addrinfo.h"
|
| @@ -101,7 +102,9 @@ int SSLSocketAdapter::BeginSSL() {
|
| transport_socket_->set_addr(talk_base::SocketAddress(hostname_, 0));
|
| ssl_socket_.reset(
|
| net::ClientSocketFactory::GetDefaultFactory()->CreateSSLClientSocket(
|
| - transport_socket_, hostname_.c_str(), ssl_config));
|
| + transport_socket_,
|
| + net::HostPortPair(hostname_, socket_->GetRemoteAddress().port()),
|
| + ssl_config));
|
|
|
| int result = ssl_socket_->Connect(&connected_callback_);
|
|
|
|
|