Skip to content

Commit

Permalink
resolved: actually check authenticated flag of SOA transaction
Browse files Browse the repository at this point in the history
Fixes #25676

(cherry picked from commit 3b4cc1437b51fcc0b08da8cc3f5d1175eed25eb1)

Resolves: RHEL-6213
  • Loading branch information
msekletar authored and github-actions[bot] committed Jan 3, 2024
1 parent 5202603 commit c3a86a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolve/resolved-dns-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -2520,7 +2520,7 @@ static int dns_transaction_requires_rrsig(DnsTransaction *t, DnsResourceRecord *
if (r == 0)
continue;

return t->answer_authenticated;
return dt->answer_authenticated;
}

return true;
Expand Down Expand Up @@ -2550,7 +2550,7 @@ static int dns_transaction_requires_rrsig(DnsTransaction *t, DnsResourceRecord *
* RR for us. This means we are not at a zone cut. In
* this case, we require authentication if the SOA
* lookup was authenticated too. */
return t->answer_authenticated;
return dt->answer_authenticated;
}

return true;
Expand Down

0 comments on commit c3a86a3

Please sign in to comment.