]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: define SSL_CTX_set1_curves_list to itself on BoringSSL
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 14:03:45 +0000 (15:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 14:05:09 +0000 (15:05 +0100)
commit5b8af1e30c0c2a485b893f43ea5e2644198dffcc
treec9c12ab22d68273ac90edf96a525ba03d7d34cf9
parent99e0bb997fad11b0f8598dd46d3a3b1bbb19c485
MINOR: ssl: define SSL_CTX_set1_curves_list to itself on BoringSSL

OpenSSL 1.0.2 and onwards define SSL_CTX_set1_curves_list which is both a
function and a macro. OpenSSL 1.0.2 to 1.1.0 define SSL_CTRL_SET_CURVES_LIST
as a macro, which disappeared from 1.1.1. BoringSSL only has that one and
not the former macro but it does have the function. Let's keep the test on
the macro matching the function name by defining the macro to itself when
needed.
include/haproxy/openssl-compat.h