]> 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 12:53:54 +0000 (12:53 +0000)
commite645d2ef1e6fb08287f36c6872f4f88850cbc26f
tree1e9a4f9f4f81c0c3490f5a6b6831a26accc78e83
parentdf72c5223947e70e7734a7d1fff7e77089cdbad2
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.
lib/dns/keymgr.c