2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Merge branch '469-typo-in-validate-glue-branch' into 'master'

Resolve "Typo in validate-glue branch"

See merge request isc-projects/bind9!613
This commit is contained in:
Ondřej Surý
2018-08-11 04:16:34 -04:00

View File

@@ -1910,8 +1910,8 @@ query_addadditional(void *arg, const dns_name_t *name, dns_rdatatype_t qtype) {
DNS_TRUST_GLUE(rdataset->trust)))
{
/* validate() may change rdataset->trust */
invalid = validate(client, db, fname,
rdataset, sigrdataset);
invalid = !validate(client, db, fname,
rdataset, sigrdataset);
}
if (invalid && DNS_TRUST_PENDING(rdataset->trust)) {
dns_rdataset_disassociate(rdataset);
@@ -1982,8 +1982,8 @@ query_addadditional(void *arg, const dns_name_t *name, dns_rdatatype_t qtype) {
DNS_TRUST_GLUE(rdataset->trust)))
{
/* validate() may change rdataset->trust */
invalid = validate(client, db, fname,
rdataset, sigrdataset);
invalid = !validate(client, db, fname,
rdataset, sigrdataset);
}
if (invalid && DNS_TRUST_PENDING(rdataset->trust)) {