Move onto the next RRSIG on DNS_R_SIGEXPIRED or DNS_R_SIGFUTURE

This commit is contained in:
Mark Andrews 2024-02-17 09:22:58 +11:00 committed by Ondřej Surý
parent 1f1685ef67
commit 82ca80c2e9
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41

View file

@ -1590,6 +1590,10 @@ validate_answer(dns_validator_t *val, bool resume) {
}
vresult = verify(val, val->key, &rdata, val->siginfo->keyid);
if (vresult == DNS_R_SIGEXPIRED || vresult == DNS_R_SIGFUTURE) {
resume = false;
continue;
}
if (vresult != ISC_R_SUCCESS) {
val->failed = true;
validator_log(val, ISC_LOG_DEBUG(3),