]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
add potential EDE spots
authorTCY16 <tom@nlnetlabs.nl>
Mon, 8 Nov 2021 10:50:57 +0000 (11:50 +0100)
committerTCY16 <tom@nlnetlabs.nl>
Mon, 8 Nov 2021 10:50:57 +0000 (11:50 +0100)
validator/validator.c

index d4d48d956895550d70108ca8bab2da87972d56e7..1c7039e0ce0bf5a352bc1bdb5c42c6445fbb2a13 100644 (file)
@@ -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;