summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_client_socket_openssl.h')
-rw-r--r--net/socket/ssl_client_socket_openssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h
index 31d5c1c..783132d 100644
--- a/net/socket/ssl_client_socket_openssl.h
+++ b/net/socket/ssl_client_socket_openssl.h
@@ -32,7 +32,7 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
// certificate during the SSL handshake. ssl_config specifies the SSL
// settings.
SSLClientSocketOpenSSL(ClientSocketHandle* transport_socket,
- const std::string& hostname,
+ const HostPortPair& host_and_port,
const SSLConfig& ssl_config);
~SSLClientSocketOpenSSL();
@@ -125,7 +125,7 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
BIO* transport_bio_;
scoped_ptr<ClientSocketHandle> transport_;
- std::string hostname_;
+ const HostPortPair host_and_port_;
SSLConfig ssl_config_;
bool completed_handshake_;