summaryrefslogtreecommitdiffstats
path: root/lib/dns
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-05-20 05:38:08 +0000
committerdougb <dougb@FreeBSD.org>2010-05-20 05:38:08 +0000
commit6d41f7ac6b360a4d3daf511eefc0708d423832cb (patch)
treeee72c3a62a88988fd88b8307e202d8687614355d /lib/dns
parentdd00bb16c74b474ce18dbc6bcfd33c42313a66ca (diff)
downloadFreeBSD-src-6d41f7ac6b360a4d3daf511eefc0708d423832cb.zip
FreeBSD-src-6d41f7ac6b360a4d3daf511eefc0708d423832cb.tar.gz
Vendor import of BIND 9.6.2-P2
Diffstat (limited to 'lib/dns')
-rw-r--r--lib/dns/api2
-rw-r--r--lib/dns/validator.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/dns/api b/lib/dns/api
index 4fc7eca..e9df7db 100644
--- a/lib/dns/api
+++ b/lib/dns/api
@@ -1,3 +1,3 @@
LIBINTERFACE = 56
-LIBREVISION = 0
+LIBREVISION = 1
LIBAGE = 1
diff --git a/lib/dns/validator.c b/lib/dns/validator.c
index 0ccdc41..7144ae2 100644
--- a/lib/dns/validator.c
+++ b/lib/dns/validator.c
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: validator.c,v 1.164.12.11.8.2 2010/02/25 10:57:12 tbox Exp $ */
+/* $Id: validator.c,v 1.164.12.11.8.3 2010/04/21 04:29:01 marka Exp $ */
#include <config.h>
@@ -2961,7 +2961,7 @@ nsecvalidate(dns_validator_t *val, isc_boolean_t resume) {
}
findnsec3proofs(val);
- if (val->authcount == val->authfail)
+ if (val->authfail != 0 && val->authcount == val->authfail)
return (DNS_R_BROKENCHAIN);
validator_log(val, ISC_LOG_DEBUG(3),
"nonexistence proof(s) not found");
OpenPOWER on IntegriCloud