]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not call exit() upon NSEC3 verification errors
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:36:25 +0000 (10:36 +0200)
commitc76fcdd2a2ce8ff936c996785812651da94f5714
treec89a6b3d91a62f81014723cca295248332dd45d2
parent8448691159a3c2d8e5a0a9d0a5f745893265f4f3
Do not call exit() upon NSEC3 verification errors

Make verifynsec3(), verifynsec3s(), and verifyemptynodes() return the
verification result through a separate pointer, thus making it possible
to signal errors using function return values.  Replace all
check_result() and fprintf() calls inside these functions with
zoneverify_log_error() calls and error handling code.

Modify all call sites of verifynsec3(), verifynsec3s(), and
verifyemptynodes() so that their errors are properly handled.
lib/dns/zoneverify.c