Add check for openssl/evp.h.

This commit is contained in:
Guy Harris 2019-05-23 11:09:03 -07:00
parent 0636ecf913
commit 23ffab27a9

View File

@ -717,11 +717,13 @@ if(WITH_CRYPTO)
find_package(CRYPTO)
if(CRYPTO_FOUND)
#
# Check for some functions.
# Check for some headers and functions.
#
cmake_push_check_state()
set(CMAKE_REQUIRED_LIBRARIES crypto)
check_include_file(openssl/evp.h HAVE_OPENSSL_EVP_H)
#
# 1) do we have EVP_CIPHER_CTX_new?
# If so, we use it to allocate an EVP_CIPHER_CTX, as