summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 00:19:06 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 00:19:06 +0000
commit8e9e6d194ac2037ec1b75076d6e037a0e28692a2 (patch)
tree5e80d30379aa30bec477e2ea454fd1840af5ca23
parent97db8d3429e73fc8ea685be2fe8166d3dca51093 (diff)
downloadchromium_src-8e9e6d194ac2037ec1b75076d6e037a0e28692a2.zip
chromium_src-8e9e6d194ac2037ec1b75076d6e037a0e28692a2.tar.gz
chromium_src-8e9e6d194ac2037ec1b75076d6e037a0e28692a2.tar.bz2
Disable V2 authenticator temporarily until it is finished.
BUG=105214 Review URL: http://codereview.chromium.org/9164001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116967 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--remoting/protocol/it2me_host_authenticator_factory.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/remoting/protocol/it2me_host_authenticator_factory.cc b/remoting/protocol/it2me_host_authenticator_factory.cc
index e3e74e7..65145c2 100644
--- a/remoting/protocol/it2me_host_authenticator_factory.cc
+++ b/remoting/protocol/it2me_host_authenticator_factory.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -27,10 +27,13 @@ It2MeHostAuthenticatorFactory::~It2MeHostAuthenticatorFactory() {
Authenticator* It2MeHostAuthenticatorFactory::CreateAuthenticator(
const std::string& remote_jid,
const buzz::XmlElement* first_message) {
- if (V2Authenticator::IsEkeMessage(first_message)) {
- return V2Authenticator::CreateForHost(
- local_cert_, local_private_key_.get(), shared_secret_);
- }
+ // TODO(sergeyu): V2 authenticator is not finished yet. Enable it
+ // here when it is finished. crbug.com/105214
+ //
+ // if (V2Authenticator::IsEkeMessage(first_message)) {
+ // return V2Authenticator::CreateForHost(
+ // local_cert_, local_private_key_.get(), shared_secret_);
+ // }
return new V1HostAuthenticator(local_cert_, local_private_key_.get(),
shared_secret_, remote_jid);