dns_keytable_issecuredomain did not set result correctly on success

This commit is contained in:
Bob Halley 2000-03-16 23:57:02 +00:00
parent a4ed9791ed
commit 79e06a7909

View file

@ -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);