summaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-10-21 22:11:59 +0200
committerWerner Koch <wk@gnupg.org>2015-10-21 22:11:59 +0200
commit6fafda979df8e7e117f8e6929bcce89513a6e746 (patch)
treeee16beaf501b8b090f9d72b773bf193deac488b1 /dirmngr/http.c
parentgpg: Add a new OpenPGP card vendor. (diff)
downloadgnupg2-6fafda979df8e7e117f8e6929bcce89513a6e746.tar.xz
gnupg2-6fafda979df8e7e117f8e6929bcce89513a6e746.zip
dirmngr: Check that getaddrinfo is available.
* dirmngr/Makefile.am (t_http_SOURCES): Add dns-stuff.c. (t_ldap_parse_uri_SOURCES): Ditto. * dirmngr/dns-stuff.c: Bail out if neither ADNS nor getaddrinfo is available. -- We used to have replacement code for getaddrinfo and thus check for it in configure. However, this was for the old http and dns-cert code from common/. For dirmngr I made liberal use of getaddrinfo w/o without checking. Just in case someone tries to build on an old platform we now error our with a suitable #error. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'dirmngr/http.c')
0 files changed, 0 insertions, 0 deletions