dirmngr: Fix recursive resolver mode.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 14 Jun 2018 04:01:45 +0000 (13:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 14 Jun 2018 04:01:45 +0000 (13:01 +0900)
commit5b40338f12762cd74238c2d2b3101c33dd2d0ed3
tree8b7b17f1b80869012875937891a45f43b646a21e
parentcb52eb76b3ba0269742c5322e10a2b5151dafaf2
dirmngr: Fix recursive resolver mode.

* dirmngr/dns-stuff.c (libdns_init): Initialize options.recurse.

--

To reproduce an error, run:

    ./t-dns-stuff --debug --recursive-resolver www.gnupg.org

Then, it returns "No name" error.  That's because there was only setup
for root servers, and no setup for recursive query in fact.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/dns-stuff.c