From 3e41dedfc5712a7169eaef43557c4409097b02c3 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 27 Aug 2013 13:47:23 +0000 Subject: [PATCH] remove bool. git-svn-id: file:///svn/unbound/trunk@2949 be551aaa-1e26-0410-a405-d3ace91eadb9 --- validator/val_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validator/val_utils.c b/validator/val_utils.c index 681bc09d4..73e7dbd90 100644 --- a/validator/val_utils.c +++ b/validator/val_utils.c @@ -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);