From: Christos Tsantilas Date: Wed, 15 May 2013 15:56:40 +0000 (+0300) Subject: Bug 3816: SSL_get_certificate call inside Ssl::verifySslCertificate crashes squid... X-Git-Tag: SQUID_3_4_0_1~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=216eee00a3e823fc0b5dc00bb02574a7b9466943;p=thirdparty%2Fsquid.git 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). --- 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