| Index: components/cryptauth/device_to_device_authenticator_unittest.cc
|
| diff --git a/components/cryptauth/device_to_device_authenticator_unittest.cc b/components/cryptauth/device_to_device_authenticator_unittest.cc
|
| index 507bedb1b9b04a6837b2da63fa53f950bef3032a..245bf503edfcb7f150881b2b9c309ba3cd9b5192 100644
|
| --- a/components/cryptauth/device_to_device_authenticator_unittest.cc
|
| +++ b/components/cryptauth/device_to_device_authenticator_unittest.cc
|
| @@ -19,6 +19,7 @@
|
| #include "components/cryptauth/device_to_device_responder_operations.h"
|
| #include "components/cryptauth/fake_secure_message_delegate.h"
|
| #include "components/cryptauth/secure_context.h"
|
| +#include "components/cryptauth/session_keys.h"
|
| #include "components/cryptauth/wire_message.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -268,8 +269,9 @@ TEST_F(ProximityAuthDeviceToDeviceAuthenticatorTest, AuthenticateSucceeds) {
|
| std::string initiator_auth = connection_.message_buffer()[0]->payload();
|
|
|
| bool initiator_auth_validated = false;
|
| + auto session_keys = base::MakeUnique<SessionKeys>(session_symmetric_key_);
|
| DeviceToDeviceResponderOperations::ValidateInitiatorAuthMessage(
|
| - initiator_auth, session_symmetric_key_,
|
| + initiator_auth, session_keys.get(),
|
| remote_device_.persistent_symmetric_key, responder_auth_message,
|
| secure_message_delegate_,
|
| base::Bind(&SaveBooleanResult, &initiator_auth_validated));
|
|
|