]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: ssl_sock: move dirty openssl-1.0.2 wrapper to openssl-compat
authorWilly Tarreau <w@1wt.eu>
Tue, 28 May 2024 17:16:18 +0000 (19:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 May 2024 17:17:57 +0000 (19:17 +0200)
commitdecb7c90dfbd90c53f6e098d783daa701699c64c
treedd954a5ee2385454b29d6b49e876cdb896e8d114
parent84380965a504a2a25450378de638df891c75d569
CLEANUP: ssl_sock: move dirty openssl-1.0.2 wrapper to openssl-compat

Valentine noticed this ugly SSL_CTX_get_tlsext_status_cb() macro
definition inside ssl_sock.c that is dedicated to openssl-1.0.2 only.
It would be better placed in openssl-compat.h, which is what this
patch does. It also addresses a missing pair of parenthesis and
removes an invalid extra semicolon.
include/haproxy/openssl-compat.h
src/ssl_sock.c