2
0
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:
Mark Andrews
2013-08-15 10:48:05 +10:00
parent 5f630b9417
commit 7ace327795
14 changed files with 147 additions and 14 deletions

View File

@@ -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;