Merge branch '854-spurious-keytype-warning' into 'main'

silence a spurious warning during key generation

Closes #854

See merge request isc-projects/bind9!7501
This commit is contained in:
Evan Hunt 2023-02-08 07:29:46 +00:00
commit 9ecda9bdb2

View file

@ -1487,6 +1487,7 @@ dns_dnssec_findmatchingkeys(const dns_name_t *origin, const char *directory,
case DST_ALG_HMACSHA256:
case DST_ALG_HMACSHA384:
case DST_ALG_HMACSHA512:
case DST_ALG_DH:
if (result == DST_R_BADKEYTYPE) {
continue;
}