]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: fix index of comments and rebreak comments
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 16 Aug 2025 17:06:42 +0000 (02:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 16 Aug 2025 17:06:42 +0000 (02:06 +0900)
src/resolve/resolved-dns-transaction.c

index 00fbe27e33deeca3ef140dc0a49d789d20299c3a..05088082fd38d01eb769ec4614a1131c854c505a 100644 (file)
@@ -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;