summaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-16 14:51:48 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-16 14:51:48 -0400
commit91ca6c117de7ce68526e96f4f75e4813c69577dc (patch)
treec6b81e4f5a37ff0a5448c9ef4c3936ac9568c82e /rsa.cpp
parent6847978f0a835d0a8a5f39372c3408b4239f9639 (diff)
downloadcryptopp-git-91ca6c117de7ce68526e96f4f75e4813c69577dc.tar.gz
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)
Diffstat (limited to 'rsa.cpp')
-rw-r--r--rsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa.cpp b/rsa.cpp
index fd0a17d8..f151b403 100644
--- a/rsa.cpp
+++ b/rsa.cpp
@@ -10,7 +10,7 @@
#include "algparam.h"
#include "fips140.h"
-#if !defined(NDEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) && !defined(CRYPTOPP_IS_DLL)
+#if CRYPTOPP_DEBUG && !defined(CRYPTOPP_DOXYGEN_PROCESSING) && !defined(CRYPTOPP_IS_DLL)
#include "pssr.h"
NAMESPACE_BEGIN(CryptoPP)
void RSA_TestInstantiations()