mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
NSEC rdata not lowercased.
git-svn-id: file:///svn/unbound/trunk@623 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
c968fc7581
commit
8959cd47a8
@ -5,6 +5,7 @@
|
||||
and for failed prime when missing glue.
|
||||
- fixup so useless delegation points are not returned from the
|
||||
cache. Also the safety belt is used if priming fails to complete.
|
||||
- fixup NSEC rdata not to be lowercased, bind compat.
|
||||
|
||||
18 September 2007: Wouter
|
||||
- wildcard nsec3 testcases, and fixup to get correct wildcard name.
|
||||
|
@ -899,7 +899,6 @@ canonicalize_rdata(ldns_buffer* buf, struct ub_packed_rrset_key* rrset,
|
||||
uint8_t* datstart = ldns_buffer_current(buf)-len+2;
|
||||
switch(ntohs(rrset->rk.type)) {
|
||||
case LDNS_RR_TYPE_NXT:
|
||||
case LDNS_RR_TYPE_NSEC: /* type starts with the name */
|
||||
case LDNS_RR_TYPE_NS:
|
||||
case LDNS_RR_TYPE_MD:
|
||||
case LDNS_RR_TYPE_MF:
|
||||
@ -987,6 +986,10 @@ canonicalize_rdata(ldns_buffer* buf, struct ub_packed_rrset_key* rrset,
|
||||
datstart += 6;
|
||||
query_dname_tolower(datstart);
|
||||
return;
|
||||
|
||||
/* do not canonicalize NSEC rdata name, compat with bug
|
||||
* from bind 9.4 signer, where it does not do so */
|
||||
case LDNS_RR_TYPE_NSEC: /* type starts with the name */
|
||||
/* A6 not supported */
|
||||
default:
|
||||
/* nothing to do for unknown types */
|
||||
|
Loading…
Reference in New Issue
Block a user