mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
dirmngr: Improve assuan error comment for cmd keyserver.
* dirmngr/server.c: Add error comment in case --resolve fails in ensure_keyserver. -- GnuPG-bug-id: 3756 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d7207b39b7
commit
f8e868d9df
@ -2134,8 +2134,13 @@ cmd_keyserver (assuan_context_t ctx, char *line)
|
||||
if (resolve_flag)
|
||||
{
|
||||
err = ensure_keyserver (ctrl);
|
||||
if (!err)
|
||||
err = ks_action_resolve (ctrl, ctrl->server_local->keyservers);
|
||||
if (err)
|
||||
{
|
||||
assuan_set_error (ctx, err,
|
||||
"Bad keyserver configuration in dirmngr.conf");
|
||||
goto leave;
|
||||
}
|
||||
err = ks_action_resolve (ctrl, ctrl->server_local->keyservers);
|
||||
if (err)
|
||||
goto leave;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user