@@ -0,0 +1,34 @@
1+From 1c9cc97e9d47d73763810dcb4a36b6cdf31a2254 Mon Sep 17 00:00:00 2001
2+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
3+Date: Sun, 30 Jun 2019 11:54:35 -0400
4+Subject: [PATCH] dirmngr: Only use SKS pool CA for SKS pool
5+
6+* dirmngr/http.c (http_session_new): when checking whether the
7+keyserver is the HKPS pool, check specifically against the pool name,
8+as ./configure might have been used to select a different default
9+keyserver. It makes no sense to apply Kristian's certificate
10+authority to anything other than the literal host
11+hkps.pool.sks-keyservers.net.
12+
13+Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
14+GnuPG-Bug-Id: 4593
15+---
16+ dirmngr/http.c | 2 +-
17+ 1 file changed, 1 insertion(+), 1 deletion(-)
18+
19+diff --git a/dirmngr/http.c b/dirmngr/http.c
20+index 384f2569d..8e5d53939 100644
21+--- a/dirmngr/http.c
22++++ b/dirmngr/http.c
23+@@ -767,7 +767,7 @@ http_session_new (http_session_t *r_session,
24+
25+ is_hkps_pool = (intended_hostname
26+ && !ascii_strcasecmp (intended_hostname,
27+- get_default_keyserver (1)));
28++ "hkps.pool.sks-keyservers.net"));
29+
30+ /* If the user has not specified a CA list, and they are looking
31+ * for the hkps pool from sks-keyservers.net, then default to
32+--
33+2.22.0
34+