mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
https://github.com/openldap/openldap/blob/OPENLDAP_REL_ENG_2_6_13/CHANGES https://www.openldap.org/software/release/changes_lts.html Rebased patch 0001. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
configure: correctly detect bignum
|
|
|
|
Building with bignum is currently not possible, since we're checking
|
|
ol_with_tls against a value it is never assigned in any case.
|
|
|
|
Since bignum is from openssl, and openssl is the preferred TLS
|
|
implementation, if the bignum headers are found, it means we do have
|
|
TLS and it is opensl.
|
|
|
|
So, keep the check for the bignum header, but check against ol_link_tls
|
|
which means that openssl is enabled when we find the bignum headers.
|
|
|
|
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
|
[Bernd: rebased for 2.6.13]
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
|
|
diff -durN openldap-2.4.40.orig/configure openldap-2.4.40/configure
|
|
--- openldap-2.4.40.orig/configure 2014-09-19 03:48:49.000000000 +0200
|
|
+++ openldap-2.4.40/configure 2015-01-25 18:44:54.216879362 +0100
|
|
@@ -25367,7 +25367,7 @@
|
|
|
|
if test "$ac_cv_header_openssl_bn_h" = "yes" &&
|
|
test "$ac_cv_header_openssl_crypto_h" = "yes" &&
|
|
- test "$ol_with_tls" = "found" ; then
|
|
+ test "$ol_link_tls" = "yes" ; then
|
|
ol_with_mp=bignum
|
|
|
|
printf "%s\n" "#define USE_MP_BIGNUM 1" >>confdefs.h
|
|
--- openldap-2.5.15.orig/configure.ac 2023-10-23 11:03:46.292215101 +0200
|
|
+++ openldap-2.5.16/configure.ac 2023-10-23 11:05:07.245355497 +0200
|
|
@@ -2327,7 +2327,7 @@
|
|
AC_CHECK_HEADERS(openssl/crypto.h)
|
|
if test "$ac_cv_header_openssl_bn_h" = "yes" &&
|
|
test "$ac_cv_header_openssl_crypto_h" = "yes" &&
|
|
- test "$ol_with_tls" = "found" ; then
|
|
+ test "$ol_link_tls" = "yes" ; then
|
|
ol_with_mp=bignum
|
|
AC_DEFINE(USE_MP_BIGNUM,1,[define to use OpenSSL BIGNUM for MP])
|
|
elif test $ol_with_mp = bignum ; then
|