aboutsummaryrefslogtreecommitdiff
path: root/net/openldap26-server/files/patch-configure.ac
blob: 034007b89d706421f6d3467719380d8623cb5d43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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])