dirmngr: Do PTR lookups only for 'keyserver --hosttable'.
authorWerner Koch <wk@gnupg.org>
Wed, 15 Feb 2017 18:14:20 +0000 (19:14 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 15 Feb 2017 18:20:33 +0000 (19:20 +0100)
commita75325faf163275674a91971e75f1018035ca348
tree6318e1da122825e02ce0ff2ae10284dfb0638fcf
parentda2ba20868093e3054d18adc2b1bc56cb23e4ba7
dirmngr: Do PTR lookups only for 'keyserver --hosttable'.

* dirmngr/ks-engine-hkp.c (hostinfo_s): Remove fields v4addr and
v5addr and add fields iporname and iporname_valid.
(create_new_hostinfo): Clear them.
(add_host): Remove the code to set the v4addr and v6addr fields.
(ks_hkp_print_hosttable): Remove printing of the fields.  Compute the
iporname field and display it.
(ks_hkp_reload): Force re-computing of the iporname field in
ks_hkp_print_hosttable.
--

GnuPG-bug-id: 2928
Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/ks-engine-hkp.c