Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: remoting/protocol/me2me_host_authenticator_factory.cc

Issue 10446084: Disable V1 auth support in remoting client and Me2Me host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/me2me_host_authenticator_factory.cc
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index ba46c4de20e1b4fe75b31acb598bf9b0f0d0f525..c8a1efba607a334660bf33a92f568ebf4d421db2 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);
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698