libdns: Fix for non-FQDN hostname.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 18 Jun 2018 01:13:35 +0000 (10:13 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 18 Jun 2018 01:13:35 +0000 (10:13 +0900)
commita4a054bf14fa855715faee01a152755c4e2a74f7
tree36b0a232195f6dcaee09c12d4da999a822ea875a
parentbcdbf8b8ebe9d61160e0b007dabe1b6462ffbc93
libdns: Fix for non-FQDN hostname.

* dirmngr/dns.c (dns_resconf_open): Clear search[0] for non-FQDN
hostname.

--

GnuPG-bug-id: T3803
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/dns.c