mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Fixup DS query handling.
git-svn-id: file:///svn/unbound/trunk@1785 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6b959f8043
commit
568253e4ff
2 changed files with 4 additions and 2 deletions
|
|
@ -6,6 +6,8 @@
|
||||||
- ctime_r compat definition.
|
- ctime_r compat definition.
|
||||||
- detect yylex_destroy() in configure.
|
- detect yylex_destroy() in configure.
|
||||||
- detect SSL_get_compression_methods declaration in configure.
|
- detect SSL_get_compression_methods declaration in configure.
|
||||||
|
- fixup DS lookup at anchor point with unsigned parent.
|
||||||
|
- fixup DLV lookup for DS queries to unsigned domains.
|
||||||
|
|
||||||
24 August 2009: Wouter
|
24 August 2009: Wouter
|
||||||
- cleaner memory allocation on exit. autotrust test routines.
|
- cleaner memory allocation on exit. autotrust test routines.
|
||||||
|
|
|
||||||
|
|
@ -1215,8 +1215,6 @@ processInit(struct module_qstate* qstate, struct val_qstate* vq,
|
||||||
val_find_signer(subtype, &vq->qchase, vq->orig_msg->rep,
|
val_find_signer(subtype, &vq->qchase, vq->orig_msg->rep,
|
||||||
vq->rrset_skip, &vq->signer_name, &vq->signer_len);
|
vq->rrset_skip, &vq->signer_name, &vq->signer_len);
|
||||||
if(vq->signer_name == NULL) {
|
if(vq->signer_name == NULL) {
|
||||||
lookup_name = vq->qchase.qname;
|
|
||||||
lookup_len = vq->qchase.qname_len;
|
|
||||||
log_nametypeclass(VERB_ALGO, "no signer, using", lookup_name,
|
log_nametypeclass(VERB_ALGO, "no signer, using", lookup_name,
|
||||||
0, 0);
|
0, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1644,6 +1642,8 @@ val_dlv_init(struct module_qstate* qstate, struct val_qstate* vq,
|
||||||
/* use qchase */
|
/* use qchase */
|
||||||
nm = vq->qchase.qname;
|
nm = vq->qchase.qname;
|
||||||
nm_len = vq->qchase.qname_len;
|
nm_len = vq->qchase.qname_len;
|
||||||
|
if(vq->qchase.qtype == LDNS_RR_TYPE_DS)
|
||||||
|
dname_remove_label(&nm, &nm_len);
|
||||||
}
|
}
|
||||||
log_nametypeclass(VERB_ALGO, "DLV init look", nm, LDNS_RR_TYPE_DS,
|
log_nametypeclass(VERB_ALGO, "DLV init look", nm, LDNS_RR_TYPE_DS,
|
||||||
vq->qchase.qclass);
|
vq->qchase.qclass);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue