]> git.ipfire.org Git - thirdparty/bind9.git/commit
Implement zoneverify_log_error() and zoneverify_print()
authorMichał Kępień <michal@isc.org>
Fri, 15 Jun 2018 07:59:20 +0000 (09:59 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 15 Jun 2018 08:10:24 +0000 (10:10 +0200)
commitd949a5d83cb5cab80a2b246703d0c95fa3274a03
treee25f57f3bbd720dc7a987e866a324d619e13e74d
parent730cc3e3c501839bd5e0c626b5e177d6f421c3cc
Implement zoneverify_log_error() and zoneverify_print()

These functions will be used in the process of replacing fatal(),
check_result(), and fprintf() calls throughout lib/dns/zoneverify.c with
code that does not call exit().  They are intended for:

  - zoneverify_log_error(): logging problems encountered while
    performing zone verification,

  - zoneverify_print(): printing status messages and reports which are
    only useful in standalone tools.

To make using dns_zone_logv() possible, add a new "zone" argument to
dns_zoneverify_dnssec() that standalone tools are expected to set to
NULL.
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-verify.c
lib/dns/include/dns/zoneverify.h
lib/dns/zoneverify.c