1
0
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:
Werner Koch 2025-06-17 16:07:13 +02:00
parent fde915af1c
commit 22fc07640a
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2634,10 +2634,6 @@ cmd_ks_fetch (assuan_context_t ctx, char *line)
ctrl->timeout = opt.connect_quick_timeout;
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. */
outfp = es_fopencookie (ctx, "w", data_line_cookie_functions);
if (!outfp)
@ -2652,7 +2648,6 @@ cmd_ks_fetch (assuan_context_t ctx, char *line)
ctrl->server_local->inhibit_data_logging = 0;
}
leave:
return leave_cmd (ctx, err);
}