mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Use system provided root CAs with KS_FETCH.
* dirmngr/ks-engine-http.c (ks_http_fetch): Use HTTP_FLAG_TRUST_SYS. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
fd765df6a7
commit
c3aeda82b8
2 changed files with 5 additions and 2 deletions
|
@ -73,7 +73,9 @@ ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp)
|
|||
estream_t fp = NULL;
|
||||
char *request_buffer = NULL;
|
||||
|
||||
err = http_session_new (&session, NULL, NULL, HTTP_FLAG_TRUST_DEF);
|
||||
/* Note that we only use the system provided certificates with the
|
||||
* fetch command. */
|
||||
err = http_session_new (&session, NULL, NULL, HTTP_FLAG_TRUST_SYS);
|
||||
if (err)
|
||||
goto leave;
|
||||
http_session_set_log_cb (session, cert_log_cb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue