From 5eb264cfa732c9584e290dbeb6dd09eed8c040bd Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 23 Jan 2014 15:43:07 +0100 Subject: [PATCH] Minor fixes to o_p_test.c (CMakeLists.txt and includes) --- programs/test/CMakeLists.txt | 1 + programs/test/o_p_test.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/programs/test/CMakeLists.txt b/programs/test/CMakeLists.txt index c05b903f4..758b7a55d 100644 --- a/programs/test/CMakeLists.txt +++ b/programs/test/CMakeLists.txt @@ -30,6 +30,7 @@ install(TARGETS selftest benchmark ssl_test ssl_cert_test if(OPENSSL_FOUND) add_executable(o_p_test o_p_test.c) + include_directories(${OPENSSL_INCLUDE_DIR}) target_link_libraries(o_p_test ${libs} ${OPENSSL_LIBRARIES}) install(TARGETS o_p_test diff --git a/programs/test/o_p_test.c b/programs/test/o_p_test.c index 0665098f6..3a6c693bb 100644 --- a/programs/test/o_p_test.c +++ b/programs/test/o_p_test.c @@ -32,7 +32,9 @@ #include #include +#ifndef OPENSSL_NO_ENGINE #include +#endif #include #include