diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 23:31:43 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 23:31:43 +0000 |
commit | de702116c8df5780abc940e563bdcced156c3953 (patch) | |
tree | 0e8a44e0f788663edc543a1b9976c316cfb4c208 /remoting/protocol/v2_authenticator_unittest.cc | |
parent | bf3c62aba2b10fc44c4c898e32e19f1cf69cdf92 (diff) | |
download | chromium_src-de702116c8df5780abc940e563bdcced156c3953.zip chromium_src-de702116c8df5780abc940e563bdcced156c3953.tar.gz chromium_src-de702116c8df5780abc940e563bdcced156c3953.tar.bz2 |
Implement NegotiatingAuthenticator.
BUG=105214
Review URL: https://chromiumcodereview.appspot.com/9284034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/v2_authenticator_unittest.cc')
-rw-r--r-- | remoting/protocol/v2_authenticator_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/protocol/v2_authenticator_unittest.cc b/remoting/protocol/v2_authenticator_unittest.cc index fe2458e..0d634e4 100644 --- a/remoting/protocol/v2_authenticator_unittest.cc +++ b/remoting/protocol/v2_authenticator_unittest.cc @@ -41,8 +41,9 @@ class V2AuthenticatorTest : public AuthenticatorTestBase { void InitAuthenticators(const std::string& client_secret, const std::string& host_secret) { host_ = V2Authenticator::CreateForHost( - host_cert_, *private_key_, host_secret); - client_ = V2Authenticator::CreateForClient(client_secret); + host_cert_, *private_key_, host_secret, Authenticator::WAITING_MESSAGE); + client_ = V2Authenticator::CreateForClient( + client_secret, Authenticator::MESSAGE_READY); } DISALLOW_COPY_AND_ASSIGN(V2AuthenticatorTest); |