diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 19:59:27 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 19:59:27 +0000 |
commit | 2a14500556798d559fd63f41059c6072f199a21d (patch) | |
tree | 18a1dfebb40b2a35044698655d64778ba4ad9325 | |
parent | 30626f673b1aefbbd0b9b88129e10ce9c24e2ff7 (diff) | |
download | chromium_src-2a14500556798d559fd63f41059c6072f199a21d.zip chromium_src-2a14500556798d559fd63f41059c6072f199a21d.tar.gz chromium_src-2a14500556798d559fd63f41059c6072f199a21d.tar.bz2 |
Fix backward compatibility issue introduced in r115519.
BUG=105214
Review URL: http://codereview.chromium.org/9026015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115584 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | remoting/protocol/ssl_hmac_channel_authenticator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.cc b/remoting/protocol/ssl_hmac_channel_authenticator.cc index f38830a..85775bb 100644 --- a/remoting/protocol/ssl_hmac_channel_authenticator.cc +++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc @@ -133,7 +133,7 @@ void SslHmacChannelAuthenticator::OnConnected(int result) { // Generate authentication digest to write to the socket. std::string auth_bytes = GetAuthBytes( socket_.get(), is_ssl_server() ? - kClientAuthSslExporterLabel : kHostAuthSslExporterLabel, auth_key_); + kHostAuthSslExporterLabel : kClientAuthSslExporterLabel, auth_key_); if (auth_bytes.empty()) { done_callback_.Run(net::ERR_FAILED, NULL); return; @@ -251,7 +251,7 @@ bool SslHmacChannelAuthenticator::VerifyAuthBytes( // Compute expected auth bytes. std::string auth_bytes = GetAuthBytes( socket_.get(), is_ssl_server() ? - kHostAuthSslExporterLabel : kClientAuthSslExporterLabel, auth_key_); + kClientAuthSslExporterLabel : kHostAuthSslExporterLabel, auth_key_); if (auth_bytes.empty()) return false; |