mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 14:06:16 -04:00
Update Retired and Removed if we update lifetime
If we are updating the lifetime, and it was not set before, also
set/update the Retired and Removed timing metadata.
(cherry picked from commit 3e836a87e6)
This commit is contained in:
parent
4be38b606a
commit
5cb7c19c23
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ keymgr_key_update_lifetime(dns_dnsseckey_t *key, dns_kasp_t *kasp,
|
|||
/* Initialize lifetime. */
|
||||
if (r != ISC_R_SUCCESS) {
|
||||
dst_key_setnum(key->key, DST_NUM_LIFETIME, lifetime);
|
||||
return;
|
||||
l = lifetime - 1;
|
||||
}
|
||||
/* Skip keys that are still hidden or already retiring. */
|
||||
if (g != OMNIPRESENT) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue