mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
4405. [bug] Change 4342 introduced a regression where you could
not remove a delegation in a NSEC3 signed zone using OPTOUT via nsupdate. [RT #42702]
This commit is contained in:
@@ -1330,7 +1330,7 @@ dns_nsec3_delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name,
|
||||
CHECK(dns_db_createiterator(db, DNS_DB_NSEC3ONLY, &dbit));
|
||||
|
||||
result = dns_dbiterator_seek(dbit, hashname);
|
||||
if (result == ISC_R_NOTFOUND)
|
||||
if (result == ISC_R_NOTFOUND || result == DNS_R_PARTIALMATCH)
|
||||
goto success;
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto failure;
|
||||
@@ -1435,7 +1435,7 @@ dns_nsec3_delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name,
|
||||
&empty, origin, hash, iterations,
|
||||
salt, salt_length));
|
||||
result = dns_dbiterator_seek(dbit, hashname);
|
||||
if (result == ISC_R_NOTFOUND)
|
||||
if (result == ISC_R_NOTFOUND || result == DNS_R_PARTIALMATCH)
|
||||
goto success;
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto failure;
|
||||
|
Reference in New Issue
Block a user