From: Yu Watanabe Date: Sat, 16 Aug 2025 17:06:42 +0000 (+0900) Subject: resolve: fix index of comments and rebreak comments X-Git-Tag: v258-rc3~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40f597555ad4b72175fffd5855b3cfbf752e3e87;p=thirdparty%2Fsystemd.git resolve: fix index of comments and rebreak comments --- diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 00fbe27e33d..05088082fd3 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -3595,27 +3595,24 @@ int dns_transaction_validate_dnssec(DnsTransaction *t) { t->id, dns_resource_key_to_string(dns_transaction_key(t), key_str, sizeof key_str)); - /* First, see if this response contains any revoked trust - * anchors we care about */ + /* First, see if this response contains any revoked trust anchors we care about. */ r = dns_transaction_check_revoked_trust_anchors(t); if (r < 0) return r; - /* Third, copy all RRs we acquired successfully from auxiliary RRs over. */ + /* Second, copy all RRs we acquired successfully from auxiliary RRs over. */ r = dns_transaction_copy_validated(t); if (r < 0) return r; - /* Second, see if there are DNSKEYs we already know a - * validated DS for. */ + /* Third, see if there are DNSKEYs we already know a validated DS for. */ r = dns_transaction_validate_dnskey_by_ds(t); if (r < 0) return r; - /* Fourth, remove all DNSKEY and DS RRs again that our trust - * anchor says are revoked. After all we might have marked - * some keys revoked above, but they might still be lingering - * in our validated_keys list. */ + /* Fourth, remove all DNSKEY and DS RRs again that our trust anchor says are revoked. After all we + * might have marked some keys revoked above, but they might still be lingering in our validated_keys + * list. */ r = dns_transaction_invalidate_revoked_keys(t); if (r < 0) return r;