]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: dev: Use enum rather than numbers for isc_base64_tobuffer and isc_hex_tob...
authorMark Andrews <marka@isc.org>
Tue, 27 Jan 2026 21:40:42 +0000 (08:40 +1100)
committerMark Andrews <marka@isc.org>
Tue, 27 Jan 2026 21:40:42 +0000 (08:40 +1100)
commit47b8ca5ac7f41b8fd6f6b5cdfeaafbf7d82e6f7f
tree7c97ace73a977f3689b3f198636faca76e471a9c
parent3d0823ee68477355f35dd72c7827757ae2a0c406
parent37e03b004e5e74a6b55dba584a0f3a348f2e4fbc
[9.20] chg: dev: Use enum rather than numbers for isc_base64_tobuffer and isc_hex_tobuffer

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

Backport of MR !11479

Merge branch 'backport-5713-use-macros-with-isc_base64_tobuffer-and-isc_hex_tobuffer-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11498