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

Unified Diff: components/variations/variations_seed_store_unittest.cc

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 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
« no previous file with comments | « components/gcm_driver/crypto/p256_key_util_nss.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/variations_seed_store_unittest.cc
diff --git a/components/variations/variations_seed_store_unittest.cc b/components/variations/variations_seed_store_unittest.cc
index 577e3f8c450479885266130f38ef44a356884deb..c687932c25d3e37eb522e08cb2522c6b5d5ec830 100644
--- a/components/variations/variations_seed_store_unittest.cc
+++ b/components/variations/variations_seed_store_unittest.cc
@@ -329,15 +329,10 @@ TEST(VariationsSeedStoreTest, VerifySeedSignature) {
seed_store.VerifySeedSignature(seed_data, seed_data));
// Using a different signature (e.g. the base64 seed data) should fail.
-#if defined(USE_OPENSSL)
// OpenSSL doesn't distinguish signature decode failure from the
// signature not matching.
EXPECT_EQ(VariationsSeedStore::VARIATIONS_SEED_SIGNATURE_INVALID_SEED,
seed_store.VerifySeedSignature(seed_data, base64_seed_data));
-#else
- EXPECT_EQ(VariationsSeedStore::VARIATIONS_SEED_SIGNATURE_INVALID_SIGNATURE,
- seed_store.VerifySeedSignature(seed_data, base64_seed_data));
-#endif
// Using a different seed should not match the signature.
seed_data[0] = 'x';
« no previous file with comments | « components/gcm_driver/crypto/p256_key_util_nss.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698