• Werner Koch's avatar
    dirmngr: Change internal SRV lookup API. · 16078f3d
    Werner Koch authored
    * 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: 's avatarWerner Koch <wk@gnupg.org>
    16078f3d
t-dns-stuff.c 7.97 KB