BUG/MINOR: ssl: Fix compilation with OpenSSL 1.0.2 (missing ECDSA_SIG_set0)
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 18 Jan 2023 16:29:54 +0000 (17:29 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 19 Jan 2023 10:13:51 +0000 (11:13 +0100)
commitbb35e1f5aa69f55f588e060fee6098db37abe94c
tree48688f54137f18e32b3b7bb0250aa406b1762cab
parent2edc6d0301825327b6b5acb6acd1c68701bb104e
BUG/MINOR: ssl: Fix compilation with OpenSSL 1.0.2 (missing ECDSA_SIG_set0)

This function was introduced in OpenSSL 1.1.0. Prior to that, the
ECDSA_SIG structure was public.
This function was used in commit 5a8f02ae "BUG/MEDIUM: jwt: Properly
process ecdsa signatures (concatenated R and S params)".

This patch needs to be backported up to branch 2.5 alongside commit
5a8f02ae.
include/haproxy/openssl-compat.h