diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2017-02-17 18:53:33 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2017-02-17 18:53:33 +0000 |
commit | 3d7e55155dd0acaba23dc19920091ee5580ad180 (patch) | |
tree | 128498ff1499e8cde628b28e9707636bd4d161a5 /usr.sbin/unbound/validator/val_nsec.c | |
parent | 57a7719d7ee152a16a7ac027d83bcce25a6a46ac (diff) |
Update to unbound-1.6.1rc3 - thanks millert@ and Brad for tests.
Diffstat (limited to 'usr.sbin/unbound/validator/val_nsec.c')
-rw-r--r-- | usr.sbin/unbound/validator/val_nsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |