[squid-users] Can I configure squid5 with Boring SSL

vinod mg vinod9987 at gmail.com
Mon May 3 20:10:48 UTC 2021


Hi Team,

I have followed -
https://www.interserver.net/tips/kb/openssl-vs-boringssl-boringssl-install-boringssl/
and was able to install in server's /home/src/boringssl

while configuring squid I am using below options -

./configure '--prefix=/opt/boring/squid5'
'--with-openssl=/home/src/boringssl' '--enable-ssl-crtd'
'--with-filedescriptors=3276800' '--enable-storeio=diskd,aufs,ufs'
'--with-large-files' '--enable-useragent-log' '--enable-ltdl-convenience'
'--with-tls' '--enable-http-violations'

while running 'make' I am getting below error, and I am not able to find
solution for this.

In file included from ../../src/ssl/support.h:21,

                 from ../../src/SquidConfig.h:29,

                 from old_api.cc:24:

../../src/ssl/gadgets.h:56:25: error: ‘TXT_DB’ was not declared in this
scope

 typedef std::unique_ptr<TXT_DB, HardFun<void, TXT_DB*, &TXT_DB_free>>
TXT_DB_Pointer;

../../src/ssl/gadgets.h:56:47: error: ‘TXT_DB’ was not declared in this
scope

 typedef std::unique_ptr<TXT_DB, HardFun<void, TXT_DB*, &TXT_DB_free>>
TXT_DB_Pointer;

../../src/ssl/gadgets.h:56:68: error: template argument 2 is invalid

 typedef std::unique_ptr<TXT_DB, HardFun<void, TXT_DB*, &TXT_DB_free>>
TXT_DB_Pointer;

../../src/ssl/gadgets.h:56:68: error: template argument 3 is invalid

../../src/ssl/gadgets.h:56:71: error: template argument 1 is invalid

 typedef std::unique_ptr<TXT_DB, HardFun<void, TXT_DB*, &TXT_DB_free>>
TXT_DB_Pointer;

../../src/ssl/gadgets.h:56:71: error: template argument 2 is invalid

../../src/ssl/gadgets.h:56:1: error: ‘typedef’ was ignored in this
declaration [-Werror]

 typedef std::unique_ptr<TXT_DB, HardFun<void, TXT_DB*, &TXT_DB_free>>
TXT_DB_Pointer;

cc1plus: all warnings being treated as errors

make[3]: *** [Makefile:840: old_api.lo] Error 1

make[3]: Leaving directory '/tmp/squid-5.0.5/src/mem'

make[2]: *** [Makefile:6851: all-recursive] Error 1

make[2]: Leaving directory '/tmp/squid-5.0.5/src'

make[1]: *** [Makefile:5840: all] Error 2

make[1]: Leaving directory '/tmp/squid-5.0.5/src'

make: *** [Makefile:593: all-recursive] Error 1

My node is running on - CentOS Linux release 8.3.2011
Squid version - 5.0.4
Installed Openssl version - OpenSSL 1.1.1g FIPS  21 Apr 2020

Thanks,
Vinod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210504/eac566d7/attachment.htm>


More information about the squid-users mailing list