aboutsummaryrefslogtreecommitdiff
path: root/net/openldap26-server/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap26-server/files/patch-configure.ac')
-rw-r--r--net/openldap26-server/files/patch-configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/openldap26-server/files/patch-configure.ac b/net/openldap26-server/files/patch-configure.ac
new file mode 100644
index 000000000000..034007b89d70
--- /dev/null
+++ b/net/openldap26-server/files/patch-configure.ac
@@ -0,0 +1,16 @@
+--- configure.ac 2023-07-31 14:09:15.000000000 -0400
++++ configure.ac 2024-01-16 15:17:17.855596000 -0500
+@@ -1225,11 +1225,11 @@
+ if test $ac_cv_header_openssl_ssl_h = yes ; then
+ AC_PREPROC_IFELSE([AC_LANG_SOURCE(
+ [[#include <openssl/opensslv.h>]
+-[#if OPENSSL_VERSION_NUMBER < 0x1010100fL]
++[#if OPENSSL_VERSION_NUMBER < 0x1000215fL]
+ [#error "OpenSSL is too old"]
+ [#endif]])],
+ , [AC_MSG_FAILURE([OpenSSL 1.1.1 or newer required])])
+
+- AC_CHECK_LIB(ssl, SSL_CTX_set_ciphersuites,
++ AC_CHECK_LIB(ssl, SSL_CTX_new,
+ [have_openssl=yes], [have_openssl=no],
+ [-lcrypto])