Home GnuPG
Diffusion GnuPG 16078f3deea5

dirmngr: Change internal SRV lookup API.
16078f3deea5Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Change internal SRV lookup API.

* dirmngr/dns-stuff.c (get_dns_srv): Add args SERVICE and PROTO.
* dirmngr/http.c (connect_server): Simplify SRV lookup.
* dirmngr/ks-engine-hkp.c (map_host): Ditto.
* dirmngr/t-dns-stuff.c (main): Adjust for changed get_dns_srv.

This new API is more convenient because it includes commonly used
code. Note that right now http.c's SRV record code is not used.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 8 2017, 6:04 PM
Parents
rG9fa94aa10778: dirmngr: Strip root zone suffix from libdns SRV results.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG16078f3deea5: dirmngr: Change internal SRV lookup API. (authored by Werner Koch <wk@gnupg.org>).Jan 8 2017, 6:04 PM