Index: remoting/test/host_info.cc |
diff --git a/remoting/test/host_info.cc b/remoting/test/host_info.cc |
index 4be97e1c1f3e9b6876b80390e982b835e0813869..acb1c517e9c5b67d7336223ea3dae62a8a54e93e 100644 |
--- a/remoting/test/host_info.cc |
+++ b/remoting/test/host_info.cc |
@@ -91,15 +91,13 @@ ConnectionSetupInfo HostInfo::GenerateConnectionSetupInfo( |
connection_setup_info.user_name = user_name; |
connection_setup_info.auth_methods.push_back( |
- protocol::AuthenticationMethod::Spake2Pair()); |
+ protocol::AuthenticationMethod::SPAKE2_PAIR); |
connection_setup_info.auth_methods.push_back( |
- protocol::AuthenticationMethod::Spake2( |
- protocol::AuthenticationMethod::HashFunction::NONE)); |
+ protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_PLAIN); |
connection_setup_info.auth_methods.push_back( |
- protocol::AuthenticationMethod::Spake2( |
- protocol::AuthenticationMethod::HashFunction::HMAC_SHA256)); |
+ protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_HMAC); |
connection_setup_info.auth_methods.push_back( |
- protocol::AuthenticationMethod::ThirdParty()); |
+ protocol::AuthenticationMethod::THIRD_PARTY); |
return connection_setup_info; |
} |