1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
Werner Koch 816505958a
dirmngr: Implement a getnameinfo wrapper.
* dirmngr/dns-stuff.h (DNS_NUMERICHOST): New.
(DNS_WITHBRACKET): New.
* dirmngr/dns-stuff.c (resolve_name_standard): Factor code out to...
(map_eai_to_gpg_error): new.
(resolve_addr_standard): New.
(resolve_dns_addr): New.

* dirmngr/ks-engine-hkp.c (is_ip_address): Move to ...
* dirmngr/dns-stuff.c (is_ip_address): here.  Add support for non
bracketed v6 addresses.

* dirmngr/t-dns-stuff.c: Remove header netdb.h.
(main): Add option --bracket.  Use resolve_dns_name instead of
getnameinfo.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-10-25 16:47:11 +01:00
..
2010-12-14 19:17:58 +00:00
2010-07-23 16:16:14 +00:00
2015-10-21 18:14:24 +02:00
2015-10-21 18:14:24 +02:00
2015-10-22 09:52:51 +02:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2015-03-23 19:58:27 +01:00
2015-10-21 18:14:24 +02:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2015-10-21 18:14:24 +02:00
2015-03-23 19:58:26 +01:00
2010-06-09 16:53:51 +00:00