Home GnuPG
Diffusion GnuPG 82646bbf1a5a

dirmngr: Fix URL creation for literal IPv6 addresses in HKP.
82646bbf1a5aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Fix URL creation for literal IPv6 addresses in HKP.

* dirmngr/dns-stuff.c (is_ip_address): Make the return value depend on
the address family.
* dirmngr/ks-engine-hkp.c (map_host): Rename arg R_POOLNAME to
R_HTTPHOST because that is its purpose.  Note that the former
behaviour of storing a NULL to indicate that it is not a pool has not
been used.
(make_host_part): Ditto.
(make_host_part): Make sure that literal v6 addresses are correclty
marked in the constructed URL.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 12 2017, 9:09 PM
Parents
rG8b1611a9605b: tests: Improve GPGHOME handling.
Branches
Unknown
Tags
Unknown

Event Timeline