]> git.ipfire.org Git - thirdparty/bind9.git/commit
Support compilation with cmocka 2.0.0+
authorNicki Křížek <nicki@isc.org>
Mon, 29 Dec 2025 12:37:34 +0000 (13:37 +0100)
committerNicki Křížek <nicki@isc.org>
Wed, 7 Jan 2026 10:17:42 +0000 (11:17 +0100)
commit0a09df0b7aa36816e28d3fc082b0322b2ea02dff
tree5b6def1ee78e6f17953999af16f99081523cd1af
parentc967fa58c23446a98915840721cad399c0aaec1d
Support compilation with cmocka 2.0.0+

The `assert_in_range()` function was deprecated in favor of
`assert_int_in_range()` and `assert_uint_in_range()`. Add compatibility
shims for cmocka<2.0.0 and use the new functions.

(cherry picked from commit 6843a4bd9afa0b06daac27091049427fcd5c601c)
tests/dns/db_test.c
tests/dns/ede_test.c
tests/dns/qp_test.c
tests/dns/resolver_test.c
tests/include/tests/isc.h
tests/isc/histo_test.c
tests/isc/mem_test.c