BUILD: ssl: guard ecdh functions with SSL_CTX_set_tmp_ecdh macro
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 21 Mar 2021 07:50:47 +0000 (12:50 +0500)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Mar 2021 16:03:46 +0000 (17:03 +0100)
commit6f7bcf69db190a0e8982dd54170ad7ed63b19da3
treeb17f37ecd358e879ff10a15903f9bf00fca53122
parentbcec63ec8ac76468558bdabaef6dc8905de194ae
BUILD: ssl: guard ecdh functions with SSL_CTX_set_tmp_ecdh macro

let us use feature macro SSL_CTX_set_tmp_ecdh instead of comparing openssl
version

(cherry picked from commit a0fd35b05476b45d8a10a299a6b32c8cca0264d9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/cfgparse-ssl.c