]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Use high level OpenSSL APIs in sha2 converter
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 8 Feb 2022 16:45:53 +0000 (17:45 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 9 Feb 2022 10:15:44 +0000 (11:15 +0100)
commit2559bc831885b7a8462822eee5c2b78232a60ea0
tree1eef11b6aa6871fdd68464aacd6c95fd9c193f32
parent36f80f6e0b648b7d4511f9de6c17bdfb75177030
MINOR: ssl: Use high level OpenSSL APIs in sha2 converter

The sha2 converter's implementation used low level interfaces such as
SHA256_Update which are flagged as deprecated starting from OpenSSLv3.
This patch replaces those calls by EVP ones which already existed on
older versions. It should be fully isofunctional.
src/ssl_sample.c