]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove bool.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 27 Aug 2013 13:47:23 +0000 (13:47 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 27 Aug 2013 13:47:23 +0000 (13:47 +0000)
git-svn-id: file:///svn/unbound/trunk@2949 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/val_utils.c

index 681bc09d4908c68510008a8f6b3310264075370c..73e7dbd9020f860d09092fa224d3d64e53b2b31e 100644 (file)
@@ -596,7 +596,7 @@ val_verify_DNSKEY_with_TA(struct module_env* env, struct val_env* ve,
                /* Once we see a single DS with a known digestID and 
                 * algorithm, we cannot return INSECURE (with a 
                 * "null" KeyEntry). */
-               has_useful_ta = true;
+               has_useful_ta = 1;
 
                sec = verify_dnskeys_with_ds_rr(env, ve, dnskey_rrset, 
                        ta_ds, i, reason);
@@ -622,7 +622,7 @@ val_verify_DNSKEY_with_TA(struct module_env* env, struct val_env* ve,
                        continue;
 
                /* we saw a useful TA */
-               has_useful_ta = true;
+               has_useful_ta = 1;
 
                sec = dnskey_verify_rrset(env, ve, dnskey_rrset,
                        ta_dnskey, i, reason);