aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/validator/validator.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-05-31 16:38:19 +0200
committerRiccardo Spagni <ric@spagni.net>2015-05-31 16:38:21 +0200
commit431397abfaf37b28c6981242d7fd59d8e520c8ec (patch)
treefa324d2f9f02668a6d56d2e4d195a59ab1d3710e /external/unbound/validator/validator.c
parentMerge pull request #301 (diff)
parentupdate libunbound (diff)
downloadmonero-431397abfaf37b28c6981242d7fd59d8e520c8ec.tar.xz
Merge pull request #302
6a11907 update libunbound (Riccardo Spagni)
Diffstat (limited to 'external/unbound/validator/validator.c')
-rw-r--r--external/unbound/validator/validator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/external/unbound/validator/validator.c b/external/unbound/validator/validator.c
index a02525fee..74068659f 100644
--- a/external/unbound/validator/validator.c
+++ b/external/unbound/validator/validator.c
@@ -519,8 +519,8 @@ validate_msg_signatures(struct module_qstate* qstate, struct module_env* env,
"has failed AUTHORITY rrset:", s->rk.dname,
ntohs(s->rk.type), ntohs(s->rk.rrset_class));
errinf(qstate, reason);
- errinf_rrset(qstate, s);
errinf_origin(qstate, qstate->reply_origin);
+ errinf_rrset(qstate, s);
chase_reply->security = sec_status_bogus;
return 0;
}
@@ -1815,6 +1815,8 @@ processValidate(struct module_qstate* qstate, struct val_qstate* vq,
/**
* Init DLV check.
+ * DLV is going to be decommissioned, but the code is still here for some time.
+ *
* Called when a query is determined by other trust anchors to be insecure
* (or indeterminate). Then we look if there is a key in the DLV.
* Performs aggressive negative cache check to see if there is no key.