1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

(cmd_encrypt): Use DEFAULT_RECPLIST and not recplist

for encrypt-to keys.
This commit is contained in:
Werner Koch 2004-08-16 11:15:55 +00:00
parent 93b7fb4a17
commit f5799d0170
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-16 Werner Koch <wk@g10code.de>
* server.c (cmd_encrypt): Use DEFAULT_RECPLIST and not recplist
for encrypt-to keys.
2004-08-06 Werner Koch <wk@g10code.com>
* gpgsm.c: New option --with-ephemeral-keys.

View File

@ -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);