summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authormaniscalco <maniscalco@chromium.org>2016-01-04 16:36:42 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-05 00:38:02 +0000
commitd54fe4906e431c1dceca51be976eadcf9453d15c (patch)
tree41f791aa2cef4c8d8e138fb0ef64d7438a3bb6f2 /remoting
parentdf1b2f80e431ef32a029a62302f5efbd44d50def (diff)
downloadchromium_src-d54fe4906e431c1dceca51be976eadcf9453d15c.zip
chromium_src-d54fe4906e431c1dceca51be976eadcf9453d15c.tar.gz
chromium_src-d54fe4906e431c1dceca51be976eadcf9453d15c.tar.bz2
Update SSLServerSocket::CreateSSLServerSocket to take key as const ref
BUG=571047 Review URL: https://codereview.chromium.org/1531373003 Cr-Commit-Position: refs/heads/master@{#367427}
Diffstat (limited to 'remoting')
-rw-r--r--remoting/protocol/ssl_hmac_channel_authenticator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.cc b/remoting/protocol/ssl_hmac_channel_authenticator.cc
index de7b299..808bd1b 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc
@@ -230,7 +230,7 @@ void SslHmacChannelAuthenticator::SecureAndAuthenticate(
scoped_ptr<net::SSLServerSocket> server_socket = net::CreateSSLServerSocket(
make_scoped_ptr(new NetStreamSocketAdapter(std::move(socket))),
- cert.get(), local_key_pair_->private_key(), ssl_config);
+ cert.get(), *local_key_pair_->private_key(), ssl_config);
net::SSLServerSocket* raw_server_socket = server_socket.get();
socket_ = std::move(server_socket);
result = raw_server_socket->Handshake(