"must be secure failure, no DS"
" and this is a delegation");
validator_done(val, DNS_R_MUSTBESECURE);
+ } else {
+ markanswer(val, "dsfetched2");
+ validator_done(val, ISC_R_SUCCESS);
}
- markanswer(val, "dsfetched2");
- validator_done(val, ISC_R_SUCCESS);
} else {
result = proveunsecure(val, false, true);
if (result != DNS_R_WAIT)
"must be secure failure, no DS "
"and this is a delegation");
result = DNS_R_MUSTBESECURE;
+ } else {
+ markanswer(val, "dsvalidated");
+ result = ISC_R_SUCCESS;;
}
- markanswer(val, "dsvalidated");
- result = ISC_R_SUCCESS;;
} else if ((val->attributes & VALATTR_INSECURITY) != 0) {
result = proveunsecure(val, have_dsset, true);
} else
"must be secure failure, "
"not beneath secure root");
return (DNS_R_MUSTBESECURE);
- } else
- validator_log(val, ISC_LOG_DEBUG(3),
- "not beneath secure root");
+ }
+ validator_log(val, ISC_LOG_DEBUG(3),
+ "not beneath secure root");
markanswer(val, "validatezonekey (1)");
return (ISC_R_SUCCESS);
}
"not beneath secure root");
result = DNS_R_MUSTBESECURE;
goto out;
- } else
- validator_log(val, ISC_LOG_DEBUG(3),
- "not beneath secure root");
+ }
+ validator_log(val, ISC_LOG_DEBUG(3),
+ "not beneath secure root");
markanswer(val, "proveunsecure (1)");
return (ISC_R_SUCCESS);
} else if (result != ISC_R_SUCCESS) {