bind9/lib/isccfg
Aram Sargsyan 3a1922f464 Fix dnssec-keygen key collision checking for KEY rrtype keys
When generating a new key, dnssec-keygen checks for possible
key ID collisions with existing keys. The dnssec.c:findmatchingkeys()
function, which is supposed to get the list of the existing keys,
fails to do that for the existing KEY rrtype keys (i.e. generated
using 'dnssec-keygen -T KEY') because it doesn't pass down to the
dst_key_fromnamedfile() -> dst_key_read_public() functions the type
of the keys it's interested in. Fix the issue by introducing a new
function parameter which tells in which type of keys the caller is
currently interested in.

(cherry picked from commit 49b7ce9a54)
2025-10-22 12:55:41 +11:00
..
include Change checkconf to include built-in dnssec-policy 2025-09-29 15:13:26 +02:00
aclconf.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:50:05 +00:00
check.c Fix dnssec-keygen key collision checking for KEY rrtype keys 2025-10-22 12:55:41 +11:00
dnsconf.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
duration.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
kaspconf.c Change checkconf to include built-in dnssec-policy 2025-09-29 15:13:26 +02:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move bind9/check to isccfg/check 2023-02-17 12:13:37 +00:00
namedconf.c Obsolete the "tkey-domain" statement 2025-09-01 22:34:08 +02:00
parser.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00