]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Remove call to HMAC_Init_ex with OpenSSLv3
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 8 Feb 2022 16:45:59 +0000 (17:45 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 9 Feb 2022 11:11:31 +0000 (12:11 +0100)
commitc9414e25c4a7828da088ac007ff18e3a592f9098
tree9e83a0c7c811e9085151ff7190262057b5b4d4c8
parent8ea1f5f6cd4fda36748dd5b7178957c0779e9a58
MINOR: ssl: Remove call to HMAC_Init_ex with OpenSSLv3

HMAC_Init_ex being a function that acts on a low-level HMAC_CTX
structure was marked as deprecated in OpenSSLv3.
This patch replaces this call by EVP_MAC_CTX_set_params, as advised in
the migration_guide, and uses the new OSSL_PARAM mechanism to configure
the MAC context, as described in the EVP_MAC and EVP_MAC-HMAC manpages.
src/ssl_sock.c