From 9763975bf00389bc97af76b94f23065eda338903 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 17 Apr 2018 16:04:07 +0100 Subject: [Fix] Do not check pid/state when using PRNG --- contrib/libottery/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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") -- cgit v1.2.3