CLEANUP: listeners: do not include openssl-compat
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 09:16:02 +0000 (11:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
commitb0d81946842e64b241ade4a9e051ac5ab9959c7c
treef124cf6a7658b879f81e56db7c50bf06b17f0ddc
parentdbf78025a0729f17447f8587b4dae391b741d03f
CLEANUP: listeners: do not include openssl-compat

Listeners only include openssl-compat to provide the SSL_CTX type to
use as two pointers to contexts, and to detect if NPN, ALPN, and cipher
suites are supported, and save up to 5 pointers in the ssl_bind_conf
struct if not supported. This is pointless, as these ones have all been
supported for about a decade, and including this file comes with a long
dependency chain that impacts lots of other files. The initial_ctx and
default_ctx can perfectly remain void* instead of SSL_CTX*.
include/haproxy/listener-t.h