mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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
|
||
|---|---|---|
| .. | ||
| include | ||
| aclconf.c | ||
| check.c | ||
| dnsconf.c | ||
| duration.c | ||
| kaspconf.c | ||
| log.c | ||
| Makefile.am | ||
| namedconf.c | ||
| parser.c | ||
| tests | ||