• Werner Koch's avatar
    http: Allow to request system defined CAs for TLS. · fd765df6
    Werner Koch authored
    * dirmngr/http.h (HTTP_FLAG_TRUST_DEF, HTTP_FLAG_TRUST_SYS): New.
    * dirmngr/http.c (http_session_new): Add arg "flags".
    * dirmngr/ks-engine-hkp.c (send_request): Use new flag
    HTTP_FLAG_TRUST_DEF for the new arg of http_session_new.
    * dirmngr/ks-engine-http.c (ks_http_fetch): Ditto.
    * dirmngr/t-http.c (main): Ditto.
    --
    Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
    fd765df6
t-http.c 10.1 KB