Index: remoting/client/plugin/chromoting_instance.cc |
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
index 23f60af335ac6b7fc45face543e99e828f0081a4..b57f18860d55b46222f31eee042b7bd31364880f 100644 |
--- a/remoting/client/plugin/chromoting_instance.cc |
+++ b/remoting/client/plugin/chromoting_instance.cc |
@@ -705,12 +705,12 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) { |
host_public_key)); |
std::vector<protocol::AuthenticationMethod> auth_methods; |
- auth_methods.push_back(protocol::AuthenticationMethod::ThirdParty()); |
- auth_methods.push_back(protocol::AuthenticationMethod::Spake2Pair()); |
- auth_methods.push_back(protocol::AuthenticationMethod::Spake2( |
- protocol::AuthenticationMethod::HMAC_SHA256)); |
- auth_methods.push_back(protocol::AuthenticationMethod::Spake2( |
- protocol::AuthenticationMethod::NONE)); |
+ auth_methods.push_back(protocol::AuthenticationMethod::THIRD_PARTY); |
+ auth_methods.push_back(protocol::AuthenticationMethod::SPAKE2_PAIR); |
+ auth_methods.push_back( |
+ protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_HMAC); |
+ auth_methods.push_back( |
+ protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_PLAIN); |
scoped_ptr<protocol::Authenticator> authenticator( |
new protocol::NegotiatingClientAuthenticator( |