Index: remoting/protocol/pairing_client_authenticator.cc |
diff --git a/remoting/protocol/pairing_client_authenticator.cc b/remoting/protocol/pairing_client_authenticator.cc |
index 0d3037aa4ea12f710eb503b3ecbf474cacfa2eac..5c03ab538451fa13c89ae630c0179faa1905bb6c 100644 |
--- a/remoting/protocol/pairing_client_authenticator.cc |
+++ b/remoting/protocol/pairing_client_authenticator.cc |
@@ -62,9 +62,8 @@ void PairingClientAuthenticator::OnPinFetched( |
const SetAuthenticatorCallback& callback, |
const std::string& pin) { |
callback.Run(V2Authenticator::CreateForClient( |
- AuthenticationMethod::ApplyHashFunction( |
- AuthenticationMethod::HMAC_SHA256, |
- authentication_tag_, pin), |
+ ApplySharedSecretHashFunction(HashFunction::HMAC_SHA256, |
+ authentication_tag_, pin), |
initial_state)); |
} |