diff --git a/CHANGES b/CHANGES index 5aca51980d..aa4b900666 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ could cause the caller to report an out of memory error. [RT #2398] +1188. [bug] Dynamic updates of a signed zone would fail if + some of the zone private keys were unavailable. + 1186. [bug] isc_hex_tobuffer(,,length = 0) failed to unget the EOL token when reading to end of line. diff --git a/lib/dns/dnssec.c b/lib/dns/dnssec.c index 9daaee193b..4ead65373b 100644 --- a/lib/dns/dnssec.c +++ b/lib/dns/dnssec.c @@ -16,7 +16,7 @@ */ /* - * $Id: dnssec.c,v 1.69 2001/06/08 22:48:28 bwelling Exp $ + * $Id: dnssec.c,v 1.69.2.1 2002/01/23 03:19:03 marka Exp $ */ @@ -505,7 +505,7 @@ dns_dnssec_findzonekeys(dns_db_t *db, dns_dbversion_t *ver, DST_TYPE_PUBLIC|DST_TYPE_PRIVATE, NULL, mctx, &keys[count]); - if (result == DST_R_INVALIDPRIVATEKEY) + if (result == ISC_R_FILENOTFOUND) goto next; if (result != ISC_R_SUCCESS) goto failure;