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

Unified Diff: net/cert/internal/parse_ocsp_unittest.cc

Issue 2148303002: Initialize memory in encode_values_unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove drmemory suppression. Created 4 years, 5 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 | « net/cert/internal/parse_ocsp.h ('k') | net/der/encode_values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/parse_ocsp_unittest.cc
diff --git a/net/cert/internal/parse_ocsp_unittest.cc b/net/cert/internal/parse_ocsp_unittest.cc
index bc4e1e1ebe14930727397707a95423a472081e96..001c2270f6a836e414f7f7018991cd14fafa7594 100644
--- a/net/cert/internal/parse_ocsp_unittest.cc
+++ b/net/cert/internal/parse_ocsp_unittest.cc
@@ -305,7 +305,7 @@ TEST(OCSPDateTest, VerifyTimeMinusAgeFromBeforeWindowsEpoch) {
ASSERT_TRUE(
der::EncodeTimeAsGeneralizedTime(this_update, &response.this_update));
response.has_next_update = false;
-#ifdef OS_WIN
+#if defined(OS_WIN)
EXPECT_FALSE(CheckOCSPDateValid(response, verify_time, kOCSPAgeOneWeek));
#else
EXPECT_TRUE(CheckOCSPDateValid(response, verify_time, kOCSPAgeOneWeek));
« no previous file with comments | « net/cert/internal/parse_ocsp.h ('k') | net/der/encode_values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698