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>
Mon, 18 Jun 2018 08:23:31 +0000 (17:23 +0900)
commit13320db678675246f4bb5a3fb6ece143f37c34a4
tree869f676c1c5bd3949ba1fd1bad38199eac27b569
parente8f439e0547463c24f3c10008fee73e6c4259f52
dirmngr: Fix recursive resolver mode.

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

--

Cherry pick from master commit:
    5b40338f12762cd74238c2d2b3101c33dd2d0ed3

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