BUILD/MINOR: ssl: Fix compilation with OpenSSL 1.0.2
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 20 Aug 2021 07:51:23 +0000 (09:51 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 20 Aug 2021 08:05:58 +0000 (10:05 +0200)
commitf95c29546ca7a1ab0c64b6d0709bb54197806df8
tree5ad97827bc70e4b448c403929360a7a4f3f45a21
parent46b7dff8f08cb6c5c3004d8874d6c5bc689a4c51
BUILD/MINOR: ssl: Fix compilation with OpenSSL 1.0.2

The X509_STORE_CTX_get0_cert did not exist yet on OpenSSL 1.0.2 and
neither did X509_STORE_CTX_get0_chain, which was not actually needed
since its get1 equivalent already existed.
include/haproxy/openssl-compat.h
src/ssl_sock.c