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:
	75e0ec6517

GnuPG-bug-id: 4594
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 58e234fbeb)

Gbp-Pq: Name dirmngr-Don-t-add-system-CAs-for-SKS-HKPS-pool.patch
This commit is contained in:
NIIBE Yutaka 2019-07-16 10:10:52 +09:00 committed by Daniel Kahn Gillmor
parent f56d60f43b
commit 6ca2289a9d
1 changed files with 2 additions and 0 deletions

View File

@ -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. */