Minor fixes to o_p_test.c (CMakeLists.txt and includes)
This commit is contained in:
parent
1b460440af
commit
5eb264cfa7
2 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,7 @@ install(TARGETS selftest benchmark ssl_test ssl_cert_test
|
||||||
|
|
||||||
if(OPENSSL_FOUND)
|
if(OPENSSL_FOUND)
|
||||||
add_executable(o_p_test o_p_test.c)
|
add_executable(o_p_test o_p_test.c)
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
target_link_libraries(o_p_test ${libs} ${OPENSSL_LIBRARIES})
|
target_link_libraries(o_p_test ${libs} ${OPENSSL_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS o_p_test
|
install(TARGETS o_p_test
|
||||||
|
|
|
@ -32,7 +32,9 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <openssl/rsa.h>
|
#include <openssl/rsa.h>
|
||||||
|
#ifndef OPENSSL_NO_ENGINE
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
|
#endif
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
#include <openssl/bio.h>
|
#include <openssl/bio.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue