aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-07-16 01:10:52 +0000
committerNIIBE Yutaka <[email protected]>2019-07-16 01:13:47 +0000
commit58e234fbeb6cc5908b69a73e50428f02e584e504 (patch)
tree1c4f70832d260201c189a10f734d77f5e2314a4f
parentgpg: Improve import slowness. (diff)
downloadgnupg-58e234fbeb6cc5908b69a73e50428f02e584e504.tar.gz
gnupg-58e234fbeb6cc5908b69a73e50428f02e584e504.zip
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 <[email protected]>
-rw-r--r--dirmngr/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index d2456c6dc..1ba8e79d2 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. */