]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Do not check pid/state when using PRNG
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 17 Apr 2018 15:04:07 +0000 (16:04 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 17 Apr 2018 15:04:07 +0000 (16:04 +0100)
contrib/libottery/CMakeLists.txt

index 1e9bca143a3eb385d4c20d226ae4a7cd6a2512b7..4a6ee31db50544a118ab9168555402704571e801 100644 (file)
@@ -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")