]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3759: OpenSSL compilation error on stock Fedora17, RHEL, CentOS 6 systems
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 19 May 2013 03:12:36 +0000 (21:12 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 May 2013 03:12:36 +0000 (21:12 -0600)
commitadf7ef555dce66d0613d09e3b03f00baaeb8b25a
treed714266b571bcd84377bfc5d1b8e537e5ee21763
parent77bfe7f52386466b2883a8a91a95abfe9001f97d
Bug 3759: OpenSSL compilation error on stock Fedora17, RHEL, CentOS 6 systems

OpenSSL-1.0.x has changes in TXT_DB interface over the earlier openSSL releases.
Also looks that the IMPLEMENT_LHASH_* macros are not correctly implemented and
causes compile failures.
Some of the linux distributions to overcome the above problems trying to patch
openSSL SDK. For squid this is means that the current checks based on openSSL
version can not work.

This patch try to detect at configure time:
 - if the TXT_DB uses the new implementation investigated in openSSL-1.0.x
   releases
 - If the IMPLEMENT_LHASH_* openSSL  macros are correctly implemented.

Then uses the autoconf defines to implement the correct workarounds for used
openSSL SDK.

This is a Measurement Factory project
acinclude/lib-checks.m4
configure.ac
src/ssl/certificate_db.cc
src/ssl/certificate_db.h