summaryrefslogtreecommitdiffstats
path: root/modules/ssl/mod_ssl_openssl.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:43:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:43:02 +0000
commitbe1b1255f7fb08f598e2c251b13db93b2020e692 (patch)
treee80bdc42ae06751337712ca1e310820210b3af9c /modules/ssl/mod_ssl_openssl.h
parentReleasing progress-linux version 2.4.57-2progress7u1. (diff)
downloadapache2-be1b1255f7fb08f598e2c251b13db93b2020e692.tar.xz
apache2-be1b1255f7fb08f598e2c251b13db93b2020e692.zip
Merging upstream version 2.4.59.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/ssl/mod_ssl_openssl.h')
-rw-r--r--modules/ssl/mod_ssl_openssl.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/ssl/mod_ssl_openssl.h b/modules/ssl/mod_ssl_openssl.h
index d4f684f..e251bd9 100644
--- a/modules/ssl/mod_ssl_openssl.h
+++ b/modules/ssl/mod_ssl_openssl.h
@@ -30,14 +30,17 @@
/* OpenSSL headers */
-#ifndef SSL_PRIVATE_H
#include <openssl/opensslv.h>
-#if (OPENSSL_VERSION_NUMBER >= 0x10001000)
+#if OPENSSL_VERSION_NUMBER >= 0x30000000
+#include <openssl/macros.h> /* for OPENSSL_API_LEVEL */
+#endif
+#if OPENSSL_VERSION_NUMBER >= 0x10001000
/* must be defined before including ssl.h */
#define OPENSSL_NO_SSL_INTERN
#endif
#include <openssl/ssl.h>
-#endif
+#include <openssl/evp.h>
+#include <openssl/x509.h>
/**
* init_server hook -- allow SSL_CTX-specific initialization to be performed by