aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-07-16 01:10:52 +0000
committerDaniel Kahn Gillmor <[email protected]>2019-07-20 18:16:21 +0000
commit6ca2289a9d9cab80748877fc171fe679630e2082 (patch)
tree1b45207b8511359a0d65b1d121549652c1b0fbfd
parentgpg: Improve import slowness. (diff)
downloadgnupg-debian-unstable-patch-queue.tar.gz
gnupg-debian-unstable-patch-queue.zip
dirmngr: Don't add system CAs for SKS HKPS pool.debian-unstable-patch-queue
* 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 <[email protected]> (cherry picked from commit 58e234fbeb6cc5908b69a73e50428f02e584e504) Gbp-Pq: Name dirmngr-Don-t-add-system-CAs-for-SKS-HKPS-pool.patch
-rw-r--r--dirmngr/http.c2
1 files changed, 2 insertions, 0 deletions
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. */