BUILD: SSL: introduce fine guard for RAND_keep_random_devices_open
authorIlya Shipitsin <chipitsine@gmail.com>
Fri, 19 Feb 2021 18:42:53 +0000 (23:42 +0500)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 22 Feb 2021 09:35:23 +0000 (10:35 +0100)
commit98a9e1b87306f31caaa3e1e1896770dec0421473
tree7324a35b0c4e5fcbe3f96b4ed2f1d307030a0398
parent31dd393da0e6c20bf65ea833d10635a8b26cb355
BUILD: SSL: introduce fine guard for RAND_keep_random_devices_open

RAND_keep_random_devices_open is OpenSSL specific function, not
implemented in LibreSSL and BoringSSL. Let us define guard
HAVE_SSL_RAND_KEEP_RANDOM_DEVICES_OPEN in include/haproxy/openssl-compat.h
That guard does not depend anymore on HA_OPENSSL_VERSION
include/haproxy/openssl-compat.h
src/haproxy.c