Index: remoting/protocol/v2_authenticator_unittest.cc |
diff --git a/remoting/protocol/v2_authenticator_unittest.cc b/remoting/protocol/v2_authenticator_unittest.cc |
index da3512e0fc57ebc564790b74b84e82530571d017..9af517b645435e7f8ff97dbcf5decb1aa46689df 100644 |
--- a/remoting/protocol/v2_authenticator_unittest.cc |
+++ b/remoting/protocol/v2_authenticator_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "net/base/net_errors.h" |
+#include "remoting/base/rsa_key_pair.h" |
#include "remoting/protocol/authenticator_test_base.h" |
#include "remoting/protocol/channel_authenticator.h" |
#include "remoting/protocol/connection_tester.h" |
@@ -41,7 +42,8 @@ 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, Authenticator::WAITING_MESSAGE); |
+ host_cert_, key_pair_, host_secret, |
+ Authenticator::WAITING_MESSAGE); |
client_ = V2Authenticator::CreateForClient( |
client_secret, Authenticator::MESSAGE_READY); |
} |