dirmngr: Emit SOURCE status also on NO_DATA.
authorWerner Koch <wk@gnupg.org>
Fri, 7 Sep 2018 09:48:18 +0000 (11:48 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 7 Sep 2018 09:48:18 +0000 (11:48 +0200)
commitbee65edfbc8cc2c369e5941cc9d1a01a0519b388
treef70ad99000c55a19c1a24427b0ad93f1733b2c76
parent04b56eff118ec34432c368b87e724bce1ac683f9
dirmngr: Emit SOURCE status also on NO_DATA.

* dirmngr/ks-engine-hkp.c (ks_hkp_search): Send SOURCE status also on
NO DATA error.
(ks_hkp_get): Ditto.
* g10/call-dirmngr.c (gpg_dirmngr_ks_search): Print "data source" info
also on error.
(gpg_dirmngr_ks_get): Ditto.
--

If a keyserver does not return any data it can be useful to know which
keyserver out of the pool answered.

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