summaryrefslogtreecommitdiffstats
path: root/remoting/protocol
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 17:35:12 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 17:35:12 +0000
commitccc2241e2a6ca5159f664895557ad7ff1fecf041 (patch)
treeb7d1b475cb22094d3f28ef70f61ab638e4dad389 /remoting/protocol
parentac0a7cb3b0da035c2c2ca21abf2c5f899ec32735 (diff)
downloadchromium_src-ccc2241e2a6ca5159f664895557ad7ff1fecf041.zip
chromium_src-ccc2241e2a6ca5159f664895557ad7ff1fecf041.tar.gz
chromium_src-ccc2241e2a6ca5159f664895557ad7ff1fecf041.tar.bz2
Disable V1 auth support in remoting client and Me2Me host.
BUG=110483 Review URL: https://chromiumcodereview.appspot.com/10446084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol')
-rw-r--r--remoting/protocol/me2me_host_authenticator_factory.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index ba46c4d..c8a1efb 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -90,16 +90,6 @@ scoped_ptr<Authenticator> Me2MeHostAuthenticatorFactory::CreateAuthenticator(
return scoped_ptr<Authenticator>(new RejectingAuthenticator());
}
- if (shared_secret_hash_.hash_function == AuthenticationMethod::NONE &&
- shared_secret_hash_.value.empty()) {
- // PIN isn't set. Enable V1 authentication.
- if (!NegotiatingAuthenticator::IsNegotiableMessage(first_message)) {
- return scoped_ptr<Authenticator>(
- new V1HostAuthenticator(local_cert_, *local_private_key_,
- "", remote_jid));
- }
- }
-
return NegotiatingAuthenticator::CreateForHost(
local_cert_, *local_private_key_, shared_secret_hash_.value,
shared_secret_hash_.hash_function);