bind9/lib
Artem Boldariev 334eeef5a1 Do not provide a shim for SSL_SESSION_is_resumable()
The recently added TLS client session cache used
SSL_SESSION_is_resumable() to avoid polluting the cache with
non-resumable sessions. However, it turned out that we cannot provide
a shim for this function across the whole range of OpenSSL versions
due to the fact that OpenSSL 1.1.0 does uses opaque pointers for
SSL_SESSION objects.

The commit replaces the shim for SSL_SESSION_is_resumable() with a non
public approximation of it on systems shipped with OpenSSL 1.1.0. It
is not turned into a proper shim because it does not fully emulate the
behaviour of SSL_SESSION_is_resumable(), but in our case it is good
enough, as it still helps to protect the cache from pollution.

For systems shipped with OpenSSL 1.0.X and derivatives (e.g. older
versions of LibreSSL), the provided replacement perfectly mimics the
function it is intended to replace.

(cherry picked from commit 40be3c9263)
2022-06-15 17:02:45 +03:00
..
bind9 prevent a possible buffer overflow in configuration check 2022-05-13 20:29:36 -07:00
dns DoT: implement TLS client session resumption 2022-06-15 17:02:45 +03:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Do not provide a shim for SSL_SESSION_is_resumable() 2022-06-15 17:02:45 +03:00
isccc Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
isccfg Error if key lifetime is too short 2022-05-31 17:16:53 +02:00
ns Extend TLS context cache with TLS client session cache 2022-06-15 17:02:45 +03:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00