aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/rc4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/rc4.cc')
-rw-r--r--libtests/rc4.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtests/rc4.cc b/libtests/rc4.cc
index eab3a759..b7aecd4b 100644
--- a/libtests/rc4.cc
+++ b/libtests/rc4.cc
@@ -7,6 +7,11 @@
#include <string.h>
#include <iostream>
#include <stdlib.h>
+
+#ifdef NDEBUG
+// We need assert even in a release build for test code.
+# undef NDEBUG
+#endif
#include <cassert>
static void other_tests()