hkps: Fix host name verification when using pools.
authorWerner Koch <wk@gnupg.org>
Thu, 19 Mar 2015 14:37:05 +0000 (15:37 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 19 Mar 2015 14:37:05 +0000 (15:37 +0100)
commitdc10d466bff53821f23d2cb4814c259d40c5d9c5
tree9e32be3b0fc3633463245582196dd1cd219be013
parent28bb3ab686c1c994f67a92b6846b3726c58a0bc3
hkps: Fix host name verification when using pools.

* common/http.c (send_request): Set the requested for SNI.
* dirmngr/ks-engine-hkp.c (map_host): Return the poolname and not
the selecting a host.
--

GnuPG-bug-id: 1792

Thanks to davidw for figuring out the problem.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/http.c
dirmngr/ks-engine-hkp.c