diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-18 18:50:47 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-18 18:50:47 +0100 |
commit | 8bb4d08009a12144a2b8b39a3caacaab23a4125b (patch) | |
tree | 318c98c4310aea10f04dea55d6f8233f9e5a9ad7 /src/danetool.c | |
parent | dd11a8bce02895a1be5222f99a577c5fb93cd823 (diff) | |
download | gnutls-8bb4d08009a12144a2b8b39a3caacaab23a4125b.tar.gz |
Added --insecure flag to danetool.
Diffstat (limited to 'src/danetool.c')
-rw-r--r-- | src/danetool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/danetool.c b/src/danetool.c index 898454905e..ad6791e215 100644 --- a/src/danetool.c +++ b/src/danetool.c @@ -197,6 +197,9 @@ size_t size; if (ENABLED_OPT(LOCAL_DNS)) flags = 0; + if (HAVE_OPT(INSECURE)) + flags |= DANE_F_INSECURE; + printf("Querying %s (%s:%d)...\n", host, proto, port); ret = dane_state_init(&s, flags); if (ret < 0) |