]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: Use enum rather than numbers for isc_base64_tobuffer and isc_hex_tobuffer
authorMark Andrews <marka@isc.org>
Tue, 27 Jan 2026 20:22:59 +0000 (07:22 +1100)
committerMark Andrews <marka@isc.org>
Tue, 27 Jan 2026 20:22:59 +0000 (07:22 +1100)
Use isc_one_or_more and isc_zero_or_more rather than (-2) and
(-1) when calling isc_base64_tobuffer. Similarly for
isc_hex_tobuffer. This should help reduce the probability
that the wrong number is used and it makes the intent clearer.

Closes #5713

Merge branch '5713-use-macros-with-isc_base64_tobuffer-and-isc_hex_tobuffer' into 'main'

See merge request isc-projects/bind9!11479


Trivial merge