From 216eee00a3e823fc0b5dc00bb02574a7b9466943 Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Wed, 15 May 2013 18:56:40 +0300 Subject: [PATCH] Bug 3816: SSL_get_certificate call inside Ssl::verifySslCertificate crashes squid, part3 Change the libraries order in LIBS variable inside SQUID_CHECK_OPENSSL_GETCERTIFICATE_WORKS check. Looks that play a role in some cases (when openssl provided only as static library in my tests). --- acinclude/lib-checks.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude/lib-checks.m4 b/acinclude/lib-checks.m4 index ecd80ddc08..80ef8a2931 100644 --- a/acinclude/lib-checks.m4 +++ b/acinclude/lib-checks.m4 @@ -101,7 +101,7 @@ AC_DEFUN([SQUID_CHECK_OPENSSL_GETCERTIFICATE_WORKS],[ AH_TEMPLATE(SQUID_SSLGETCERTIFICATE_BUGGY, "Define to 1 if the SSL_get_certificate crashes squid") AH_TEMPLATE(SQUID_USE_SSLGETCERTIFICATE_HACK, "Define to 1 to use squid workaround for SSL_get_certificate") SQUID_STATE_SAVE(check_SSL_get_certificate) - LIBS="$LIBS $SSLLIB" + LIBS="$SSLLIB $LIBS" if test "x$SSLLIBDIR" != "x"; then LIBS="$LIBS -Wl,-rpath -Wl,$SSLLIBDIR" fi -- 2.47.3