dirmngr: Use "pgpkey-hkps" and "pgpkey-hkp" for SRV record lookups.
authorWerner Koch <wk@gnupg.org>
Mon, 9 Jan 2017 09:42:30 +0000 (10:42 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 9 Jan 2017 09:42:30 +0000 (10:42 +0100)
commit0cc975d8a1cd54115938202432e43263b8893ea4
tree9404a3413c401dc966a62f4f46cb063c9cdcfba9
parentc2cbe2f87c480c62239dc4c2cbb352acd98cd267
dirmngr: Use "pgpkey-hkps" and "pgpkey-hkp" for SRV record lookups.

* dirmngr/ks-engine-hkp.c (map_host): Chnage arg NO_SRV to SRVTAG.
(make_host_part): Rewrite.
--

This fixes a regression from 2.0 and 1.4 where these tags have been in
used since 2009.  For whatever reason this was not ported to 2.1 and
"hkp" was always used.

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