Commit 187604c1 authored by Brian Wellington's avatar Brian Wellington
Browse files

accidentally removed an assignment to NULL before; added a note to look

back at keytag collisions later
parent 16ccb6a9
......@@ -882,6 +882,10 @@ validate(dns_validator_t *val, isc_boolean_t resume) {
event->rdataset,
val->key, ISC_FALSE,
val->view->mctx, &rdata);
/*
* If val->keynode != NULL, this should get other keys
* from the list of keynodes.
*/
if (result == ISC_R_SUCCESS || val->keynode != NULL)
break;
validator_log(val, ISC_LOG_DEBUG(3),
......@@ -897,6 +901,7 @@ validate(dns_validator_t *val, isc_boolean_t resume) {
&val->keynode);
else if (val->key != NULL)
dst_key_free(&val->key);
val->key = NULL;
if (result == ISC_R_SUCCESS) {
event->rdataset->trust = dns_trust_secure;
event->sigrdataset->trust = dns_trust_secure;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment