mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-06 01:47:41 +02:00
- Fix validation of nodata for DS query in NSEC zones, reported by
Ondrej Mikle. git-svn-id: file:///svn/unbound/trunk@2662 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2 May 2012: Wouter
|
||||
- Fix validation of nodata for DS query in NSEC zones, reported by
|
||||
Ondrej Mikle.
|
||||
|
||||
13 April 2012: Wouter
|
||||
- ECDSA support (RFC 6605) by default. Use --disable-ecdsa for older
|
||||
openssl.
|
||||
|
||||
@@ -368,8 +368,8 @@ int nsec_proves_nodata(struct ub_packed_rrset_key* nsec,
|
||||
!nsec_has_type(nsec, LDNS_RR_TYPE_SOA)) {
|
||||
return 0;
|
||||
} else if(qinfo->qtype == LDNS_RR_TYPE_DS &&
|
||||
nsec_has_type(nsec, LDNS_RR_TYPE_SOA &&
|
||||
!dname_is_root(qinfo->qname))) {
|
||||
nsec_has_type(nsec, LDNS_RR_TYPE_SOA) &&
|
||||
!dname_is_root(qinfo->qname)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user