dirmngr: Let --gpgconf-list return the default keyserver.
authorWerner Koch <wk@gnupg.org>
Thu, 2 Mar 2017 16:58:00 +0000 (17:58 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 2 Mar 2017 16:58:58 +0000 (17:58 +0100)
commitde6d8313f6df32aaa151bee74e1db269ac1e0fed
tree676c6d8deb0a50597f8defa7bd518b5151ad518d
parent0c4d0620d327e8a2069532a5519afefe867a47d6
dirmngr: Let --gpgconf-list return the default keyserver.

* dirmngr/misc.c (get_default_keyserver): New.
* dirmngr/http.c: Include misc.h
(http_session_new): Use get_default_keyserver instead of hardwired
"hkps.pool.sks-keyservers.net".
* dirmngr/http-ntbtls.c (gnupg_http_tls_verify_cb): Ditto.
* dirmngr/dirmngr.c (main) <aGPGCongList>: Return default keyserver.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dirmngr.c
dirmngr/http-ntbtls.c
dirmngr/http.c
dirmngr/misc.c
dirmngr/misc.h