commit | a26d1e13245a760bd422e4e4b6a85cc17f9f0a60 | [log] [tgz] |
---|---|---|
author | Lukas Tribus <lukas@ltri.eu> | Fri Dec 20 18:47:18 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 21 06:46:55 2019 +0100 |
tree | 7d5751dd62941740275c8f87c778f3d1bc8c77f4 | |
parent | eec7f8ac01cb744bc30f50327dd989b4763e0205 [diff] |
BUILD: ssl: improve SSL_CTX_set_ecdh_auto compatibility SSL_CTX_set_ecdh_auto() is not defined when OpenSSL 1.1.1 is compiled with the no-deprecated option. Remove existing, incomplete guards and add a compatibility macro in openssl-compat.h, just as OpenSSL does: https://github.com/openssl/openssl/blob/bf4006a6f9be691ba6eef0e8629e63369a033ccf/include/openssl/ssl.h#L1486 This should be backported as far as 2.0 and probably even 1.9.