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

Unified Diff: components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc

Issue 2621103002: Remove GCMMessageCryptographer::Label (Closed)
Patch Set: Remove GCMMessageCryptographer::Label Created 3 years, 11 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/gcm_driver/crypto/gcm_encryption_provider_unittest.cc
diff --git a/components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc b/components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc
index 22b2261c35851abd492450ca87cdd919aa5e2157..43184e274cb2c12daa9da94e1eb74e8406ea5672 100644
--- a/components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc
+++ b/components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc
@@ -496,8 +496,7 @@ void GCMEncryptionProviderTest::TestEncryptionRoundTrip(
// Encrypts the |kExampleMessage| using the generated shared key and the
// random |salt|, storing the result in |record_size| and the message.
GCMMessageCryptographer cryptographer(
- GCMMessageCryptographer::Label::P256, pair.public_key(),
- server_pair.public_key(), auth_secret);
+ pair.public_key(), server_pair.public_key(), auth_secret);
ASSERT_TRUE(cryptographer.Encrypt(kExampleMessage, shared_secret, salt,
&record_size, &message.raw_data));
« no previous file with comments | « components/gcm_driver/crypto/gcm_encryption_provider.cc ('k') | components/gcm_driver/crypto/gcm_message_cryptographer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698