]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move verifyzone() and its dependencies into lib/dns/zoneverify.c
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:07:22 +0000 (10:07 +0200)
commit3a14450d39bfbfbbc493d512d07d2125d348e171
treecec07e252a74d192e5604b77d409b4dddbe3c361
parentffe8ddd95f8c7b13cc3023ced443670abde6de34
Move verifyzone() and its dependencies into lib/dns/zoneverify.c

This commit only moves code around, with the following exceptions:

  - the check_dns_dbiterator_current() macro and functions
    is_delegation() and has_dname() were removed from
    bin/dnssec/dnssectool.{c,h} and duplicated in two locations:
    bin/dnssec/dnssec-signzone.c and lib/dns/zoneverify.c; these
    functions are used both by the code in bin/dnssec/dnssec-signzone.c
    and verifyzone(), but are not a good fit for being exported by a
    code module responsible for zone verification,

  - fatal() and check_result() were duplicated in lib/dns/zoneverify.c
    as static functions which do not use the "program" variable any more
    (as it is only set by the tools in bin/dnssec/); this is a temporary
    step which only aims to prevent compilation from breaking - these
    duplicate functions will be removed once lib/dns/zoneverify.c is
    refactored not to use them,

  - the list of header files included by lib/dns/zoneverify.c was
    expanded to encompass all header files that are actually used by the
    code in that file,

  - a description of the purpose of the commented out "fields" inside
    struct nsec3_chain_fixed was added.
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-verify.c
bin/dnssec/dnssectool.c
bin/dnssec/dnssectool.h
lib/dns/Makefile.in
lib/dns/include/dns/Makefile.in
lib/dns/include/dns/zoneverify.h [new file with mode: 0644]
lib/dns/win32/libdns.def.in
lib/dns/zoneverify.c [new file with mode: 0644]
util/copyrights