]> git.ipfire.org Git - thirdparty/bind9.git/commit
Separate isc_hmac between pre and post OpenSSL 3.0
authorAydın Mercan <aydin@isc.org>
Wed, 17 Sep 2025 12:52:35 +0000 (14:52 +0200)
committerAydın Mercan <aydin@isc.org>
Mon, 2 Feb 2026 08:50:14 +0000 (11:50 +0300)
commit8f106f2b66a8351e57cfd09be9bd41f1616332e9
tree3a5d961741ec6b9b49c12772ed2982c11d4ba914
parentf9ec4a1cdfcb9430d565c4a9a81a8825d298c498
Separate isc_hmac between pre and post OpenSSL 3.0

Instead of the `EVP_MD_CTX` based functions, use either the new
`EVP_MAC` or the old `HMAC_CTX` based functions.

`EVP_MAC` is the recommended way using using MAC functions in post-3.0
while `HMAC_CTX` is used internally by `EVP_MD_CTX`, making the latter
redundant.
lib/dns/dst_internal.h
lib/dns/hmac_link.c
lib/isc/crypto/ossl1_1.c
lib/isc/crypto/ossl3.c
lib/isc/hmac.c [deleted file]
lib/isc/include/isc/hmac.h
lib/isc/meson.build
tests/isc/hmac_test.c