]> git.ipfire.org Git - thirdparty/bind9.git/commit
change issecuredomain() functions to bool
authorEvan Hunt <each@isc.org>
Thu, 27 Feb 2025 06:06:40 +0000 (22:06 -0800)
committerOndřej Surý <ondrej@isc.org>
Tue, 5 Aug 2025 10:16:36 +0000 (12:16 +0200)
commit7371c4882a97dcc4f423fedc67b32b43183f5668
tree6fc6266f81cc2ced79d4d3c63cc20a00f8b68e7d
parent5d56df23f2310cebb9fb8c87de3899406ed62ed2
change issecuredomain() functions to bool

dns_keytable_issecuredomain() and dns_view_issecuredomain()
previously returned a result code to inform the caller of
unexpected database failures when looking up names in the
keytable and/or NTA table. such failures are not actually
possible. both functions now return a simple bool.

also, dns_view_issecuredomain() now returns false if
view->enablevalidation is false, so the caller no longer
has to check for that.
lib/dns/include/dns/keytable.h
lib/dns/include/dns/view.h
lib/dns/keytable.c
lib/dns/resolver.c
lib/dns/view.c
tests/dns/keytable_test.c