Minor fixes to o_p_test.c (CMakeLists.txt and includes)

This commit is contained in:
Paul Bakker 2014-01-23 15:43:07 +01:00
parent 1b460440af
commit 5eb264cfa7
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -32,7 +32,9 @@
#include <sys/stat.h>
#include <openssl/rsa.h>
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
#include <openssl/pem.h>
#include <openssl/bio.h>