]> git.ipfire.org Git - thirdparty/squid.git/commit
Allow compilation with minimal OpenSSL (#281)
authorEneas Queiroz <cote2004-github@yahoo.com>
Wed, 10 Oct 2018 16:45:29 +0000 (16:45 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 10 Oct 2018 16:45:34 +0000 (16:45 +0000)
commit24b30fdc3d33ec1566b1c78e68bca2d7e18c1c38
treef4cfd47a0dddbd1cb32830136b12ec6eb19f694f
parentc56abcbe00a1f4ca39ce79c2b05c508f1fbbc6ae
Allow compilation with minimal OpenSSL (#281)

Updated use of OpenSSL deprecated API, so that Squid can be compiled
with OpenSSL built with the OPENSSL_NO_DEPRECATED option. Such OpenSSL
builds are useful for saving storage space on embedded systems.

Also added compat/openssl.h -- a centralized OpenSSL portability shim.
Including it is now required before #including openssl/*.h headers.
27 files changed:
acinclude/lib-checks.m4
compat/Makefile.am
compat/openssl.h [new file with mode: 0644]
configure.ac
scripts/source-maintenance.sh
src/CachePeer.h
src/main.cc
src/security/Context.h
src/security/LockingPointer.h
src/security/PeerOptions.cc
src/security/ServerOptions.cc
src/security/ServerOptions.h
src/security/Session.cc
src/security/Session.h
src/security/cert_generators/file/certificate_db.cc
src/security/cert_generators/file/certificate_db.h
src/security/cert_generators/file/security_file_certgen.cc
src/security/forward.h
src/ssl/ErrorDetail.cc
src/ssl/bio.cc
src/ssl/bio.h
src/ssl/context_storage.cc
src/ssl/context_storage.h
src/ssl/gadgets.cc
src/ssl/gadgets.h
src/ssl/support.cc
src/ssl/support.h