]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: dev: Support compilation with cmocka 2.0.0+
authorNicki Křížek <nicki@isc.org>
Wed, 7 Jan 2026 12:09:19 +0000 (13:09 +0100)
committerNicki Křížek <nicki@isc.org>
Wed, 7 Jan 2026 12:09:19 +0000 (13:09 +0100)
commitbb9234c6cea43b99202553a55e79ca8a12e5c0db
tree5b6def1ee78e6f17953999af16f99081523cd1af
parentc967fa58c23446a98915840721cad399c0aaec1d
parent0a09df0b7aa36816e28d3fc082b0322b2ea02dff
[9.20] chg: dev: 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.

Closes #5699

Backport of MR !11412

Merge branch 'backport-5699-support-cmocka-2.0.0-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11437