bind9/lib
Matthijs Mekking 6ff0e99fa7 Update keymgr_key_is_successor() calls
The previous commit changed the function definition of
'keymgr_key_is_successor()', this commit updates the code where
this function is called.

In 'keymgr_key_exists_with_state()' the logic is also updated slightly
to become more readable. First handle the easy cases:
- If the key does not match the state, continue with the next key.
- If we found a key with matching state, and there is no need to
  check the successor relationship, return (true).
- Otherwise check the successor relationship.

In 'keymgr_key_has_successor()' it is enough to check if a key has
a direct successor, so instead of calling 'keymgr_key_is_successor()',
we can just check 'keymgr_direct_dep()'.

In 'dns_keymgr_run()', we want to make sure that there is no
dependency on the keys before retiring excess keys, so replace
'keymgr_key_is_successor()' with 'keymgr_dep()'.

(cherry picked from commit 600915d1b2)
2021-02-03 15:47:23 +01:00
..
bind9 add syntax and setter/getter functions to configure max-ixfr-ratio 2021-01-26 12:38:32 +01:00
dns Update keymgr_key_is_successor() calls 2021-02-03 15:47:23 +01:00
irs Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
isc Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
isccc Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
isccfg Added option for disabling stale-answer-client-timeout 2021-01-29 10:38:58 +01:00
ns Update code flow in query.c wrt stale data 2021-01-29 10:43:41 +01:00
samples Add libssl libraries to Windows build 2020-12-09 10:46:16 +01:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00