]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix layout.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Mar 2017 15:10:08 +0000 (15:10 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Mar 2017 15:10:08 +0000 (15:10 +0000)
git-svn-id: file:///svn/unbound/trunk@4058 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/val_anchor.c

index 2d88d44593bd1e7d046579dd667a0763a1447ec2..ee0dbffb05a534156501c97a7be5903afaf4fb3e 100644 (file)
@@ -1294,19 +1294,18 @@ anchor_list_keytags(struct trust_anchor* ta, uint16_t* list, int num)
        if(ta->numDS != 0 && ta->ds_rrset) {
                struct packed_rrset_data* d=(struct packed_rrset_data*)
                        ta->ds_rrset->entry.data;
-                       for(i=0; i<d->count; i++) {
-                               if(ret == num) continue;
-                               list[ret++] = ds_get_keytag(ta->ds_rrset, i);
-                       }
+               for(i=0; i<d->count; i++) {
+                       if(ret == num) continue;
+                       list[ret++] = ds_get_keytag(ta->ds_rrset, i);
+               }
        }
        if(ta->numDNSKEY != 0 && ta->dnskey_rrset) {
                struct packed_rrset_data* d=(struct packed_rrset_data*)
                        ta->dnskey_rrset->entry.data;
-                       for(i=0; i<d->count; i++) {
-                               if(ret == num) continue;
-                               list[ret++] = dnskey_calc_keytag(
-                                       ta->dnskey_rrset, i);
-                       }
+               for(i=0; i<d->count; i++) {
+                       if(ret == num) continue;
+                       list[ret++] = dnskey_calc_keytag(ta->dnskey_rrset, i);
+               }
        }
        qsort(list, ret, sizeof(*list), keytag_compare);
        return ret;