commit | 5b8af1e30c0c2a485b893f43ea5e2644198dffcc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Nov 05 15:03:45 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 05 15:05:09 2020 +0100 |
tree | c9c12ab22d68273ac90edf96a525ba03d7d34cf9 | |
parent | 99e0bb997fad11b0f8598dd46d3a3b1bbb19c485 [diff] |
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.