mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Small keymgr improvement
When a key is to be purged, don't run the key state machinery for it.
(cherry picked from commit af54e3dadc)
This commit is contained in:
parent
5be6acb63d
commit
fdeb456341
1 changed files with 5 additions and 0 deletions
|
|
@ -1465,6 +1465,11 @@ transition:
|
|||
char keystr[DST_KEY_FORMATSIZE];
|
||||
dst_key_format(dkey->key, keystr, sizeof(keystr));
|
||||
|
||||
if (dkey->purge) {
|
||||
/* Skip purged keys. */
|
||||
continue;
|
||||
}
|
||||
|
||||
/* For all records related to this key. */
|
||||
for (int i = 0; i < NUM_KEYSTATES; i++) {
|
||||
isc_result_t ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue