mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
dns_keytable_issecuredomain did not set result correctly on success
This commit is contained in:
parent
a4ed9791ed
commit
79e06a7909
1 changed files with 2 additions and 0 deletions
|
|
@ -315,8 +315,10 @@ dns_keytable_issecuredomain(dns_keytable_t *keytable, dns_name_t *name,
|
|||
if (result == ISC_R_SUCCESS || result == DNS_R_PARTIALMATCH) {
|
||||
INSIST(data != NULL);
|
||||
*wantdnssecp = ISC_TRUE;
|
||||
result = ISC_R_SUCCESS;
|
||||
} else if (result == ISC_R_NOTFOUND) {
|
||||
*wantdnssecp = ISC_FALSE;
|
||||
result = ISC_R_SUCCESS;
|
||||
}
|
||||
|
||||
RWUNLOCK(&keytable->rwlock, isc_rwlocktype_read);
|
||||
|
|
|
|||
Loading…
Reference in a new issue