mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
(cmd_encrypt): Use DEFAULT_RECPLIST and not recplist
for encrypt-to keys.
This commit is contained in:
parent
93b7fb4a17
commit
f5799d0170
2 changed files with 6 additions and 1 deletions
|
@ -353,7 +353,7 @@ cmd_encrypt (ASSUAN_CONTEXT ctx, char *line)
|
|||
rc = 0;
|
||||
if (!opt.no_encrypt_to)
|
||||
{
|
||||
for (cl=ctrl->server_local->recplist; !rc && cl; cl = cl->next)
|
||||
for (cl=ctrl->server_local->default_recplist; !rc && cl; cl = cl->next)
|
||||
if (cl->is_encrypt_to)
|
||||
rc = gpgsm_add_cert_to_certlist (ctrl, cl->cert,
|
||||
&ctrl->server_local->recplist, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue