dirmngr: Use the new DNS wrapper for the HTTP module.
authorWerner Koch <wk@gnupg.org>
Wed, 21 Oct 2015 20:41:12 +0000 (22:41 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 21 Oct 2015 20:41:12 +0000 (22:41 +0200)
commit1e34007c972c1d7730cfcacd88f6bbebba7dec1d
treebcff93b34e4249215452b76bde54710621c02cf0
parentb6af3377e14fad35b9c6041b11888cabce6e8a56
dirmngr: Use the new DNS wrapper for the HTTP module.

* dirmngr/t-http.c (main): Init assuan sockets.
* dirmngr/http.c: Include dns-stuff.h.
(connect_server)[!HAVE_GETADDRINFO]: Remove all code.
(connect_server): Change to use resolve_dns_name.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/http.c
dirmngr/t-http.c