• Werner Koch's avatar
    Move http module from common/ to dirmngr/. · 5aa1b392
    Werner Koch authored
    * common/http.c: Move to ../dirmngr/.
    * common/http.h: Move to ../dirmngr/.
    * common/t-http.c: Move to ../dirmngr/.
    * common/tls-ca.pem: Move to ../dirmngr/.
    * common/Makefile.am: Do not build libcommontls.a libcommontlsnpth.a.
    Remove http.c related stuff.
    * po/POTFILES.in: Move http.c to dirmngr/.
    * dirmngr/Makefile.am (EXTRA_DIST): Add tls-ca.pem.
    (module_maint_tests): New.
    (noinst_PROGRAMS): Add module_maint_tests.
    (dirmngr_SOURCES): Add http.c and http.h.
    (dirmngr_LDADD): Remove libcommontlsnpth.
    (t_common_ldadd): Ditto.
    (t_http_SOURCES, t_http_CFLAGS, t_http_LDADD): New.
    (t_ldap_parse_uri_SOURCES): Add http.c.
    (t_ldap_parse_uri_CFLAGS): Build without npth.
    ($(PROGRAMS)): Do not require libcommontls.a libcommontlsnpth.a.
    * dirmngr/dirmngr.h, dirmngr/ks-engine.h: Fix include of http.h.
    All network access is done via dirmngr and thus http.c should be
    Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
t-http.c 9.79 KB