From 3d7e55155dd0acaba23dc19920091ee5580ad180 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Fri, 17 Feb 2017 18:53:33 +0000 Subject: Update to unbound-1.6.1rc3 - thanks millert@ and Brad for tests. --- usr.sbin/unbound/validator/val_nsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/unbound/validator/val_nsec.c') diff --git a/usr.sbin/unbound/validator/val_nsec.c b/usr.sbin/unbound/validator/val_nsec.c index f104a347c78..1e4f440ffc0 100644 --- a/usr.sbin/unbound/validator/val_nsec.c +++ b/usr.sbin/unbound/validator/val_nsec.c @@ -343,7 +343,7 @@ int nsec_proves_nodata(struct ub_packed_rrset_key* nsec, } else { /* See if the next owner name covers a wildcard * empty non-terminal. */ - while (dname_strict_subdomain_c(nm, nsec->rk.dname)) { + while (dname_canonical_compare(nsec->rk.dname, nm) < 0) { /* wildcard does not apply if qname below * the name that exists under the '*' */ if (dname_subdomain_c(qinfo->qname, nm)) -- cgit v1.2.3