summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-05-23 11:09:03 -0700
committerGuy Harris <guy@alum.mit.edu>2019-05-23 11:09:49 -0700
commit23ffab27a9259dbcf45c45905eec4e9f012c093f (patch)
treef60b7fef6f3102f018927406401b1d8f5d56dd82 /CMakeLists.txt
parent0636ecf91357b749370170716e0c4cd494bcea84 (diff)
downloadtcpdump-23ffab27a9259dbcf45c45905eec4e9f012c093f.tar.gz
Add check for openssl/evp.h.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7f762004..4159eefb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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