1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-06 17:23:03 +01:00
Justus Winter ebba10cf9e dirmngr: Fix specifying keyservers by IP address.
Previously, if a keyserver was given using its IP address
(e.g. 'hkp://127.0.0.1'), 'map_host' would create two entries in the
'hosttable', one with the name '127.0.0.1', and the second one with
the name 'localhost' and 'v4addr' being set to '127.0.0.1'.  But the
first entry is the one being used for lookups, and since the 'v4' flag
is not set, the 'HTTP_FLAG_IGNORE_IPv4' is used when doing the http
request, making it fail.

* dirmngr/ks-engine-hkp.c (map_host): Update the original 'hosttable'
entry instead of creating another one.

Signed-off-by: Justus Winter <justus@g10code.com>
GnuPG-bug-id: 2012
2015-11-17 10:53:10 +01:00
..
2010-12-14 19:17:58 +00:00
2010-07-23 16:16:14 +00:00
2015-11-12 13:20:18 +01:00
2015-10-21 18:14:24 +02:00
2015-11-12 13:20:18 +01:00
2015-10-26 16:34:19 +01: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-03-23 19:58:26 +01:00
2010-06-09 16:53:51 +00:00