From: TCY16 Date: Mon, 8 Nov 2021 10:50:57 +0000 (+0100) Subject: add potential EDE spots X-Git-Tag: release-1.14.0rc1~27^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5b586dbdcfee507b4c1012becdabfa027d290ae;p=thirdparty%2Funbound.git add potential EDE spots --- diff --git a/validator/validator.c b/validator/validator.c index d4d48d956..1c7039e0c 100644 --- a/validator/validator.c +++ b/validator/validator.c @@ -1643,6 +1643,9 @@ processInit(struct module_qstate* qstate, struct val_qstate* vq, /* no retries, stop bothering the authority until timeout */ vq->restart_count = ve->max_restart; vq->chase_reply->security = sec_status_bogus; + + // @TODO ADD Error Code 6 - DNSSEC Bogus + text chain of trust? + vq->state = VAL_FINISHED_STATE; return 1; } @@ -1849,6 +1852,7 @@ processValidate(struct module_qstate* qstate, struct val_qstate* vq, LDNS_RR_TYPE_DNSKEY, vq->key_entry->key_class); vq->chase_reply->security = sec_status_bogus; errinf(qstate, "while building chain of trust"); + // @TODO ADD Error Code 6 - DNSSEC Bogus + text chain of trust? if(vq->restart_count >= ve->max_restart) key_cache_insert(ve->kcache, vq->key_entry, qstate); return 1;