mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-12 05:32:42 -04:00
don't quit if dns_dnssec_findzonekeys returns ISC_R_NOTFOUND
This commit is contained in:
parent
112fa80ac3
commit
14865492bc
2 changed files with 4 additions and 0 deletions
|
|
@ -867,6 +867,8 @@ loadzonekeys(dns_db_t *db, dns_dbversion_t *version) {
|
|||
|
||||
result = dns_dnssec_findzonekeys(db, version, node, origin, mctx,
|
||||
20, keys, &nkeys);
|
||||
if (result == ISC_R_NOTFOUND)
|
||||
result = ISC_R_SUCCESS;
|
||||
check_result(result, "dns_dnssec_findzonekeys()");
|
||||
|
||||
for (i = 0; i < nkeys; i++) {
|
||||
|
|
|
|||
|
|
@ -867,6 +867,8 @@ loadzonekeys(dns_db_t *db, dns_dbversion_t *version) {
|
|||
|
||||
result = dns_dnssec_findzonekeys(db, version, node, origin, mctx,
|
||||
20, keys, &nkeys);
|
||||
if (result == ISC_R_NOTFOUND)
|
||||
result = ISC_R_SUCCESS;
|
||||
check_result(result, "dns_dnssec_findzonekeys()");
|
||||
|
||||
for (i = 0; i < nkeys; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue