]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 5133: OpenSSL 3.0 support (#694)
authorAmos Jeffries <yadij@users.noreply.github.com>
Sat, 16 Jul 2022 11:44:16 +0000 (11:44 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 17 Jul 2022 13:07:21 +0000 (13:07 +0000)
commit742236c7ebbc669a10eef438400b162afcc8a093
tree2d1037ae76f0c95db947792eb28e91d27b649888
parentf38db639645fec5442d10fed79589c1159ca9931
Bug 5133: OpenSSL 3.0 support  (#694)

This TLS update includes:

* Fix build with OpenSSL v3.
* Refactor RSA key generation to avoid deprecated RSA_*() APIs.
* Refactor DH parameter and key config to avoid deprecated DH_*() APIs.
* Refactor ECDH key creation to avoid deprecated EC_*() APIs.
* Deprecate ssl_engine support in builds with OpenSSL v1-.
* Disable ssl_engine support in builds OpenSSL v3+.

We deprecated/removed ssl_engine support (as summarized in the last two
bullets above) without providing an OpenSSL Providers-based alternative
because of the following factors:

1. We do not have the resources to update ssl_engine code to build
   (without deprecation warnings) with OpenSSL v3 when the feature is
   unused.

2. We do not have the resources to create an OpenSSL v3 Provider-based
   replacement for ssl_engine code that uses deprecated Engine APIs.

3. OpenSSL v3 deprecated Engine support (triggering deprecation warnings
   in applications that use Engine APIs with OpenSSL v3). Since Squid
   default builds use -Werror, doing nothing would break such builds.

4. Squid ssl_engine does not appear to be a popular feature.
configure.ac
doc/release-notes/release-6.sgml
src/cf.data.pre
src/main.cc
src/security/PeerOptions.cc
src/security/ServerOptions.cc
src/security/forward.h
src/ssl/gadgets.cc
src/ssl/gadgets.h
src/ssl/support.cc