Home GnuPG
Diffusion GnuPG e77b924fec10

dirmngr: Fix setup of libdns for W32.
e77b924fec10Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Fix setup of libdns for W32.

* configure.ac (DNSLIB) {W32]: Add -liphlpapi.
* dirmngr/dns-stuff.c [W32]: Include iphlpapi.h and define
WIN32_LEAN_AND_MEAN.
(libdns_init) [W32]: Use GetNetworkParams to get the nameserver.
* dirmngr/t-dns-stuff.c (init_sockets): New.
(main): Call it.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 17 2016, 9:54 PM
Parents
rGc3c60843ea25: po: Fix Japanese translation.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGe77b924fec10: dirmngr: Fix setup of libdns for W32. (authored by Werner Koch <wk@gnupg.org>).Dec 17 2016, 9:57 PM