Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: components/cryptauth/device_to_device_authenticator_unittest.cc

Issue 2899863002: Updating D2D protocol to v1 to support separate sequence numbers. (Closed)
Patch Set: Addressing comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..362cd8ea205715cb8289f5b67e65c2800cca8443 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"
@@ -269,7 +270,7 @@ TEST_F(ProximityAuthDeviceToDeviceAuthenticatorTest, AuthenticateSucceeds) {
bool initiator_auth_validated = false;
DeviceToDeviceResponderOperations::ValidateInitiatorAuthMessage(
- initiator_auth, session_symmetric_key_,
+ initiator_auth, SessionKeys(session_symmetric_key_),
remote_device_.persistent_symmetric_key, responder_auth_message,
secure_message_delegate_,
base::Bind(&SaveBooleanResult, &initiator_auth_validated));
« no previous file with comments | « components/cryptauth/device_to_device_authenticator.cc ('k') | components/cryptauth/device_to_device_initiator_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698