mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
Add check for openssl/evp.h.
This commit is contained in:
parent
0636ecf913
commit
23ffab27a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user