summaryrefslogtreecommitdiff
path: root/tests/dane.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-23 14:51:56 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-23 14:52:01 +0200
commita8c825380824d21d1102dbfc06c5bd1610955099 (patch)
tree02af3007ea144e5e45001ba88173a25b7fdc9cc0 /tests/dane.c
parentc1937d3ac5ccabcf093ac2be64017c7b49beeb29 (diff)
downloadgnutls-a8c825380824d21d1102dbfc06c5bd1610955099.tar.gz
tests: dane: add flag DANE_F_IGNORE_LOCAL_RESOLVER to dane_state_init
That prevents unbound from complaining in systems where no DNSSEC functionality is present.
Diffstat (limited to 'tests/dane.c')
-rw-r--r--tests/dane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dane.c b/tests/dane.c
index d4112a852f..3c8ca58631 100644
--- a/tests/dane.c
+++ b/tests/dane.c
@@ -57,7 +57,7 @@ static void dane_raw_check(void)
int secure;
int bogus;
- ret = dane_state_init(&s, 0);
+ ret = dane_state_init(&s, DANE_F_IGNORE_LOCAL_RESOLVER);
if (ret < 0) {
fail("dane_state_init: %s\n", dane_strerror(ret));
}