From 71c0def4f8ba4a7a645c779bfa1eff17404c493f Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Wed, 10 Jun 2020 06:34:19 -0700 Subject: [PATCH] [fuzz] fix undefined macro warning (#5076) --- src/core/crypto/pbkdf2_cmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/crypto/pbkdf2_cmac.cpp b/src/core/crypto/pbkdf2_cmac.cpp index c2ad91b20..1af07f01e 100644 --- a/src/core/crypto/pbkdf2_cmac.cpp +++ b/src/core/crypto/pbkdf2_cmac.cpp @@ -63,7 +63,7 @@ void otPbkdf2Cmac(const uint8_t *aPassword, OT_ASSERT(aIterationCounter % 2 == 0); aIterationCounter /= 2; -#if FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION // limit iterations to avoid OSS-Fuzz timeouts aIterationCounter = 2; #endif