]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] fix: dev: Fix an issue with selfsigned_dnskey() return value
authorMichał Kępień <michal@isc.org>
Sat, 18 Oct 2025 07:43:27 +0000 (09:43 +0200)
committerMichał Kępień <michal@isc.org>
Sat, 18 Oct 2025 07:43:27 +0000 (09:43 +0200)
commiteb671b575e7ff275f2ff2e59448505d3de6a21ca
tree3f875833503362c4c19b06eaa6f0f3551c4154b1
parent8cc8743c23d4dd055cce099dfb41b825e941f2b4
parent40c396ba2d955c32d70db04e900e40bf96519c59
[9.18] fix: dev: Fix an issue with selfsigned_dnskey() return value

The selfsigned_dnskey() function currently returns boolean. There
was a recent change to make it return a isc_result_t error code,
which is implicitly converted to bool, which is obviously an error.

If instead of the result code we return true/false, it still doesn't
indicate the error to the caller that has happened before.

Change the function to return isc_result_t, and change the caller
routine to process the new return type.

Closes isc-projects/bind9#5343

Merge branch 'aram/security-selfsigned_dnskey-return-type-fix' into 'v9.18.41-release'

See merge request isc-private/bind9!869