From 6ca2289a9d9cab80748877fc171fe679630e2082 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. -- Cherry-picking the master commit of: 75e0ec65170b7053743406e3f3b605febcf7312a GnuPG-bug-id: 4594 Signed-off-by: NIIBE Yutaka (cherry picked from commit 58e234fbeb6cc5908b69a73e50428f02e584e504) Gbp-Pq: Name dirmngr-Don-t-add-system-CAs-for-SKS-HKPS-pool.patch --- dirmngr/http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dirmngr/http.c b/dirmngr/http.c index 2643a2b56..869e14694 100644 --- a/dirmngr/http.c +++ b/dirmngr/http.c @@ -791,6 +791,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. */