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

Unified Diff: remoting/test/host_info.cc

Issue 1755273003: Simplify AuthenticationMethod type and PIN hash handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698