]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check return value of dst_key_getbool()
authorMatthijs Mekking <matthijs@isc.org>
Mon, 6 Jul 2020 10:07:24 +0000 (12:07 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 14 Jul 2020 15:48:21 +0000 (17:48 +0200)
commit4dabb688dbdbab513db3ec0d2fcfa512ce732ca4
treef7239e4bb6688ded3efa3a75d0734e8f3debfa9a
parentd7ad26b4725ea168bf0db129e9cf0348f59882a3
Check return value of dst_key_getbool()

Fix Coverity CHECKED_RETURN reports for dst_key_getbool().  In most
cases we do not really care about its return value, but it is prudent
to check it.

In one case, where a dst_key_getbool() error should be treated
identically as success, cast the return value to void and add a relevant
comment.

(cherry picked from commit e645d2ef1e6fb08287f36c6872f4f88850cbc26f)
lib/dns/keymgr.c