BUG/MINOR: ssl: Undefined reference when building with OPENSSL_NO_DEPRECATED
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 3 Apr 2023 09:17:26 +0000 (11:17 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 3 Apr 2023 09:46:54 +0000 (11:46 +0200)
commit26e1432436723175962bcf4b48475dad65308a5c
treeb50266cad70714eb81f56ee5a9e57607cfcc311b
parent7d6270a84554283557c2707d6df2c275e81c8bf1
BUG/MINOR: ssl: Undefined reference when building with OPENSSL_NO_DEPRECATED

If OPENSSL_NO_DEPRECATED is set, we get a 'error: ‘RSA_PKCS1_PADDING’
undeclared' when building jwt.c. The symbol is not deprecated, we are
just missing an include.

This was raised in GitHub issue #2098.
It does not need to be backported.
include/haproxy/openssl-compat.h