mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05: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:
parent
53a448ffae
commit
2bf79c2e65
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
13 April 2012: Wouter
|
||||||
- ECDSA support (RFC 6605) by default. Use --disable-ecdsa for older
|
- ECDSA support (RFC 6605) by default. Use --disable-ecdsa for older
|
||||||
openssl.
|
openssl.
|
||||||
|
|
|
||||||
|
|
@ -368,8 +368,8 @@ int nsec_proves_nodata(struct ub_packed_rrset_key* nsec,
|
||||||
!nsec_has_type(nsec, LDNS_RR_TYPE_SOA)) {
|
!nsec_has_type(nsec, LDNS_RR_TYPE_SOA)) {
|
||||||
return 0;
|
return 0;
|
||||||
} else if(qinfo->qtype == LDNS_RR_TYPE_DS &&
|
} else if(qinfo->qtype == LDNS_RR_TYPE_DS &&
|
||||||
nsec_has_type(nsec, LDNS_RR_TYPE_SOA &&
|
nsec_has_type(nsec, LDNS_RR_TYPE_SOA) &&
|
||||||
!dname_is_root(qinfo->qname))) {
|
!dname_is_root(qinfo->qname)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue