]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix an issue with selfsigned_dnskey() return value
authorAram Sargsyan <aram@isc.org>
Mon, 13 Oct 2025 14:51:21 +0000 (14:51 +0000)
committerOndřej Surý <ondrej@isc.org>
Fri, 17 Oct 2025 12:41:09 +0000 (14:41 +0200)
commit40c396ba2d955c32d70db04e900e40bf96519c59
tree3f875833503362c4c19b06eaa6f0f3551c4154b1
parent8cc8743c23d4dd055cce099dfb41b825e941f2b4
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.
lib/dns/validator.c