dirmngr: Support https for KS_FETCH.
authorWerner Koch <wk@gnupg.org>
Wed, 10 Sep 2014 08:37:48 +0000 (10:37 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 10 Sep 2014 08:37:48 +0000 (10:37 +0200)
commit84419f42da0fd436a9e0e669730157e74ce38b77
treedd82975cf054da5fa383c12670e7c84377a5cfed
parent3b20cc21de86ac8a475bdefd3aebb02a12fb8d0b
dirmngr: Support https for KS_FETCH.

* dirmngr/ks-engine-hkp.c (cert_log_cb): Move to ...
* dirmngr/misc.c (cert_log_cb): here.
* dirmngr/ks-engine-http.c (ks_http_fetch): Support 307-redirection
and https.
--

Note that this requires that the root certificates are registered using
the --hkp-cacert option.  Eventually we may introduce a separate
option to allow using different CAs for KS_FETCH and keyserver based
requests.
dirmngr/ks-engine-hkp.c
dirmngr/ks-engine-http.c
dirmngr/misc.c
dirmngr/misc.h