aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-10 11:22:16 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-10 11:22:16 +0000
commitf1963ee16c64a66889d437c91f240bc711579007 (patch)
tree72161033b92e6fb30f9cc11ab0435a6241c137de
parentbbf0a45bb76a6a55bde375016beaa544ee3309f9 (diff)
downloadrspamd-f1963ee16c64a66889d437c91f240bc711579007.tar.gz
rspamd-f1963ee16c64a66889d437c91f240bc711579007.zip
[Minor] Disable ottery wipe stack as it breaks asan sometimes
-rw-r--r--contrib/libottery/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libottery/CMakeLists.txt b/contrib/libottery/CMakeLists.txt
index 4a6ee31db..84da8136a 100644
--- a/contrib/libottery/CMakeLists.txt
+++ b/contrib/libottery/CMakeLists.txt
@@ -7,7 +7,7 @@ SET(OTTERYSRC chacha_merged.c
aes_cryptobox.c)
ADD_LIBRARY(ottery STATIC ${OTTERYSRC})
-SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK")
+SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK -DOTTERY_NO_WIPE_STACK")
IF(ENABLE_FULL_DEBUG MATCHES "OFF")
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
SET(OTTERY_CFLAGS "${OTTERY_CFLAGS} -O3")