From 75e0ec65170b7053743406e3f3b605febcf7312a Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 16 Jul 2019 10:10:52 +0900 Subject: [PATCH] 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 --- dirmngr/http.c | 2 ++ 1 file changed, 2 insertions(+) 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. */