mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr: Align the gnutls use of CAs with the ntbtls code.
* dirmngr/http.c (http_session_new) <gnutls>: Use only the special pool certificate for the default keyserver. -- The gnutls version uses a different strategy than the ntbtls version on when to use the special SKS pool certificate. This patch aligns it so that we don't need to wonder about different kind of bug reports. In short the special cert is now the only cert use with the default keyserver. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d4cb774ddd
commit
faabc49797
3 changed files with 18 additions and 10 deletions
|
@ -721,6 +721,9 @@ cert_cache_init (strlist_t hkp_cacerts)
|
|||
load_certs_from_dir (fname, 0);
|
||||
xfree (fname);
|
||||
|
||||
/* Put the special pool certificate into our store. This is
|
||||
* currently only used with ntbtls. For GnuTLS http_session_new
|
||||
* unfortunately loads that certificate directly from the file. */
|
||||
fname = make_filename_try (gnupg_datadir (),
|
||||
"sks-keyservers.netCA.pem", NULL);
|
||||
if (fname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue