| Index: remoting/protocol/negotiating_authenticator_unittest.cc
|
| diff --git a/remoting/protocol/negotiating_authenticator_unittest.cc b/remoting/protocol/negotiating_authenticator_unittest.cc
|
| index 92047d6688118c153b2899836ffb3a6257af77b0..cd1ef8ff5c1735df207c8d029452fc33af6aa975 100644
|
| --- a/remoting/protocol/negotiating_authenticator_unittest.cc
|
| +++ b/remoting/protocol/negotiating_authenticator_unittest.cc
|
| @@ -50,7 +50,7 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase {
|
| std::string host_secret_hash = AuthenticationMethod::ApplyHashFunction(
|
| hash_function, kTestHostId, host_secret);
|
| host_ = NegotiatingHostAuthenticator::CreateWithSharedSecret(
|
| - host_cert_, key_pair_, host_secret_hash, hash_function);
|
| + host_cert_, key_pair_, host_secret_hash, hash_function, NULL);
|
|
|
| std::vector<AuthenticationMethod> methods;
|
| methods.push_back(AuthenticationMethod::Spake2(
|
| @@ -60,6 +60,7 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase {
|
| AuthenticationMethod::NONE));
|
| }
|
| client_.reset(new NegotiatingClientAuthenticator(
|
| + "", "",
|
| kTestHostId, base::Bind(&NegotiatingAuthenticatorTest::FetchSecret,
|
| client_secret),
|
| scoped_ptr<ThirdPartyClientAuthenticator::TokenFetcher>(), methods));
|
| @@ -70,6 +71,7 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase {
|
| const protocol::SecretFetchedCallback& secret_fetched_callback) {
|
| secret_fetched_callback.Run(client_secret);
|
| }
|
| +
|
| void VerifyRejected(Authenticator::RejectionReason reason) {
|
| ASSERT_TRUE((client_->state() == Authenticator::REJECTED &&
|
| (client_->rejection_reason() == reason)) ||
|
|
|