From: Brian Wellington Date: Tue, 5 Feb 2002 05:16:11 +0000 (+0000) Subject: signing the root zone didn't work. X-Git-Tag: v9.0.1^2~8563 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c62c34a5b18ccec24cf3298a9ffbd45e899a4d8;p=thirdparty%2Fbind9.git signing the root zone didn't work. --- diff --git a/bin/dnssec/dnssec-signzone.c b/bin/dnssec/dnssec-signzone.c index be36deffedc..aa1921a1dfd 100644 --- a/bin/dnssec/dnssec-signzone.c +++ b/bin/dnssec/dnssec-signzone.c @@ -17,7 +17,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssec-signzone.c,v 1.157 2001/12/08 00:38:40 bwelling Exp $ */ +/* $Id: dnssec-signzone.c,v 1.158 2002/02/05 05:16:11 bwelling Exp $ */ #include @@ -1118,9 +1118,10 @@ assignwork(isc_task_t *task, isc_task_t *worker) { dns_rdataset_disassociate(&nxt); result = dns_dbiterator_next(gdbiter); - if (result == ISC_R_NOMORE) + if (result == ISC_R_NOMORE) { finished = ISC_TRUE; - else if (result != ISC_R_SUCCESS) + break; + } else if (result != ISC_R_SUCCESS) fatal("failure iterating database: %s", isc_result_totext(result)); if (!found)