dirmngr: Only use SKS pool CA for SKS pool
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 30 Jun 2019 15:54:35 +0000 (11:54 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commitf4ab35146fc69926ff7f36f951237da106a02836
treeec7a7f604e5628e29da296390c8ed6d54d6d0a28
parentb3e3ef3cb8b7c3ef3fa11f299fd2b06e76701841
dirmngr: Only use SKS pool CA for SKS pool

* dirmngr/http.c (http_session_new): when checking whether the
keyserver is the HKPS pool, check specifically against the pool name,
as ./configure might have been used to select a different default
keyserver.  It makes no sense to apply Kristian's certificate
authority to anything other than the literal host
hkps.pool.sks-keyservers.net.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
(cherry picked from commit 3233382068b7c477907daac697164b81ae45a7f4)

Gbp-Pq: Topic keyserver-cleanup
Gbp-Pq: Name dirmngr-Only-use-SKS-pool-CA-for-SKS-pool.patch
dirmngr/http.c