mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
3632. [bug] Signature from newly inactive keys were not being
removed. [RT #32178]
This commit is contained in:
@@ -764,6 +764,7 @@ dns_dnssec_findzonekeys2(dns_db_t *db, dns_dbversion_t *ver,
|
||||
* If a key is marked inactive, skip it
|
||||
*/
|
||||
if (!key_active(keys[count], now)) {
|
||||
dst_key_setinactive(pubkey, ISC_TRUE);
|
||||
dst_key_free(&keys[count]);
|
||||
keys[count] = pubkey;
|
||||
pubkey = NULL;
|
||||
|
Reference in New Issue
Block a user