From 91ca6c117de7ce68526e96f4f75e4813c69577dc Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 16 Sep 2016 14:51:48 -0400 Subject: Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420) --- salsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'salsa.cpp') diff --git a/salsa.cpp b/salsa.cpp index 85c33545..0196627a 100644 --- a/salsa.cpp +++ b/salsa.cpp @@ -32,7 +32,7 @@ NAMESPACE_BEGIN(CryptoPP) -#if !defined(NDEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) +#if CRYPTOPP_DEBUG && !defined(CRYPTOPP_DOXYGEN_PROCESSING) void Salsa20_TestInstantiations() { Salsa20::Encryption x1; -- cgit v1.2.1