]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
CMakeLists.txt: make sure the engine tests get OPENSSL_CONF too
authorRichard Levitte <richard@levitte.org>
Wed, 28 Aug 2019 08:23:01 +0000 (10:23 +0200)
committerRichard Levitte <richard@levitte.org>
Wed, 28 Aug 2019 08:23:01 +0000 (10:23 +0200)
An OPENSSL_CONF from the user may cause trouble

CMakeLists.txt

index a85c86eeba55e74e3da7449bd71197a90f1c7653..407302b452dc500a7891b8f63e12f775c0eb6393 100644 (file)
@@ -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)