aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libottery
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-17 16:04:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-17 16:04:07 +0100
commit9763975bf00389bc97af76b94f23065eda338903 (patch)
tree8be0d1d3886642497d8c901a11725b4eae72c900 /contrib/libottery
parent456759471541a7e13152a1056aad9132738be215 (diff)
downloadrspamd-9763975bf00389bc97af76b94f23065eda338903.tar.gz
rspamd-9763975bf00389bc97af76b94f23065eda338903.zip
[Fix] Do not check pid/state when using PRNG
Diffstat (limited to 'contrib/libottery')
-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 1e9bca143..4a6ee31db 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")
+SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK")
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")