]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3816: SSL_get_certificate call inside Ssl::verifySslCertificate crashes squid...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 15 May 2013 15:56:40 +0000 (18:56 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 15 May 2013 15:56:40 +0000 (18:56 +0300)
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

index ecd80ddc088a567e7fee30e4bdb16e54cc839e2d..80ef8a293145ccb4a2fc858c345665b1c230cc71 100644 (file)
@@ -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