aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-07-16 01:10:52 +0000
committerNIIBE Yutaka <[email protected]>2019-07-16 01:10:52 +0000
commit75e0ec65170b7053743406e3f3b605febcf7312a (patch)
tree9bc61f7e36965cecf8609c295fbdcf468f2785f0 /dirmngr/http.c
parentscd: Remove useless GNUPG_SCD_MAIN_HEADER macro. (diff)
downloadgnupg-75e0ec65170b7053743406e3f3b605febcf7312a.tar.gz
gnupg-75e0ec65170b7053743406e3f3b605febcf7312a.zip
dirmngr: Don't add system CAs for SKS HKPS pool.
* dirmngr/http.c [HTTP_USE_GNUTLS] (http_session_new): Clear add_system_cas. GnuPG-bug-id: 4594 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
-rw-r--r--dirmngr/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index 81b7ba897..8e0701fab 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -792,6 +792,8 @@ http_session_new (http_session_t *r_session,
pemname, gnutls_strerror (rc));
xfree (pemname);
}
+
+ add_system_cas = 0;
}
/* Add configured certificates to the session. */