dirmngr: Don't add system CAs for SKS HKPS pool.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 16 Jul 2019 01:10:52 +0000 (10:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 16 Jul 2019 01:10:52 +0000 (10:10 +0900)
* dirmngr/http.c [HTTP_USE_GNUTLS] (http_session_new): Clear
add_system_cas.

GnuPG-bug-id: 4594
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/http.c

index 81b7ba8..8e0701f 100644 (file)
@@ -792,6 +792,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.  */