From: Richard Levitte Date: Wed, 28 Aug 2019 08:23:01 +0000 (+0200) Subject: CMakeLists.txt: make sure the engine tests get OPENSSL_CONF too X-Git-Tag: v3.0.0~274^2~1 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=673d84de738e6424dfc5c69b8b3c7e041242706a;p=openssl-gost%2Fengine.git CMakeLists.txt: make sure the engine tests get OPENSSL_CONF too An OPENSSL_CONF from the user may cause trouble --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a85c86e..407302b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,7 @@ add_test(NAME engine COMMAND perl run_tests WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) set_tests_properties(engine PROPERTIES ENVIRONMENT - "OPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR};OPENSSL_ENGINES=${OUTPUT_DIRECTORY}") + "OPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR};OPENSSL_ENGINES=${OUTPUT_DIRECTORY};OPENSSL_CONF=${CMAKE_SOURCE_DIR}/test/empty.cnf") endif() add_executable(sign benchmark/sign.c)