summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-22 21:14:40 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-22 21:14:40 -0700
commitb1f305da3ddf635522bdcd6c88918beaea330968 (patch)
tree902044f80b10a4de19692039fc2aa4f7abcc1714 /config.h.in
parent6334c9435e782cc73406e03a4328da58630c6639 (diff)
downloadtcpdump-b1f305da3ddf635522bdcd6c88918beaea330968.tar.gz
Handle OpenSSL 1.1.x.
In 1.1.x, EVP_CIPHER_CTX is an opaque structure, so we can't declare it on the stack. Instead, if we don't have EVP_CIPHER_CTX_new() and EVP_CIPHER_CTX_free() in libcrypto, define our own versions, with the same signatures as the ones in OpenSSL 1.1.x's libcrypto, and have the code use EVP_CIPHER_CTX_new() to allocate the structure and EVP_CIPHER_CTX_free() to free it.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 6f6bb11a..27ba4b10 100644
--- a/config.h.in
+++ b/config.h.in
@@ -34,6 +34,9 @@
/* Define to 1 if you have the `ether_ntohost' function. */
#undef HAVE_ETHER_NTOHOST
+/* Define to 1 if you have the `EVP_CIPHER_CTX_new' function. */
+#undef HAVE_EVP_CIPHER_CTX_NEW
+
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H