mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-22 21:07:56 +02:00
dirmngr: Do not require a keyserver for KS_FETCH.
* dirmngr/server.c (cmd_ks_fetch): Remove check for a keyserver. -- GnuPG-bug-id: 7693
This commit is contained in:
parent
fde915af1c
commit
22fc07640a
@ -2634,10 +2634,6 @@ cmd_ks_fetch (assuan_context_t ctx, char *line)
|
|||||||
ctrl->timeout = opt.connect_quick_timeout;
|
ctrl->timeout = opt.connect_quick_timeout;
|
||||||
line = skip_options (line);
|
line = skip_options (line);
|
||||||
|
|
||||||
err = ensure_keyserver (ctrl); /* FIXME: Why do we needs this here? */
|
|
||||||
if (err)
|
|
||||||
goto leave;
|
|
||||||
|
|
||||||
/* Setup an output stream and perform the get. */
|
/* Setup an output stream and perform the get. */
|
||||||
outfp = es_fopencookie (ctx, "w", data_line_cookie_functions);
|
outfp = es_fopencookie (ctx, "w", data_line_cookie_functions);
|
||||||
if (!outfp)
|
if (!outfp)
|
||||||
@ -2652,7 +2648,6 @@ cmd_ks_fetch (assuan_context_t ctx, char *line)
|
|||||||
ctrl->server_local->inhibit_data_logging = 0;
|
ctrl->server_local->inhibit_data_logging = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
leave:
|
|
||||||
return leave_cmd (ctx, err);
|
return leave_cmd (ctx, err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user