From f5b586dbdcfee507b4c1012becdabfa027d290ae Mon Sep 17 00:00:00 2001 From: TCY16 Date: Mon, 8 Nov 2021 11:50:57 +0100 Subject: [PATCH] add potential EDE spots --- validator/validator.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.3