mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 20:25:55 -04:00
Skip revoked keys when selecting DNSKEY in the validation loop
Don't select revoked keys when iterating through DNSKEYs in the DNSSEC validation routines.
This commit is contained in:
parent
1b3b0cef22
commit
439e16e4de
1 changed files with 2 additions and 0 deletions
|
|
@ -1144,6 +1144,8 @@ select_signing_key(dns_validator_t *val, dns_rdataset_t *rdataset) {
|
|||
(dns_secalg_t)dst_key_alg(val->key) &&
|
||||
siginfo->keyid ==
|
||||
(dns_keytag_t)dst_key_id(val->key) &&
|
||||
(dst_key_flags(val->key) & DNS_KEYFLAG_REVOKE) ==
|
||||
0 &&
|
||||
dst_key_iszonekey(val->key))
|
||||
{
|
||||
if (foundold) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue