[tor-commits] [tor/release-0.3.4] Enable DEBUG_SMARTLIST for entire codebase when expensive hardening is on

nickm at torproject.org nickm at torproject.org
Wed Jun 20 11:53:27 UTC 2018


commit 9f2b887c5d251b93ee9def70871dfd71af71d995
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Sun Jun 3 14:48:20 2018 +0300

    Enable DEBUG_SMARTLIST for entire codebase when expensive hardening is on
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 48ca5bae1..1b57361e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -176,6 +176,7 @@ AC_ARG_ENABLE(fragile-hardening,
     AS_HELP_STRING(--enable-fragile-hardening, [enable more fragile and expensive compiler hardening; makes Tor slower]))
 if test "x$enable_expensive_hardening" = "xyes" || test "x$enable_fragile_hardening" = "xyes"; then
   fragile_hardening="yes"
+  AC_DEFINE(DEBUG_SMARTLIST, 1, [Enable smartlist debugging])
 fi
 
 dnl Linker hardening options





More information about the tor-commits mailing list