aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkclist.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r--g10/pkclist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c
index e289acb35..7a9ac8137 100644
--- a/g10/pkclist.c
+++ b/g10/pkclist.c
@@ -880,7 +880,8 @@ build_pk_list( STRLIST rcpts, PK_LIST *ret_pk_list, unsigned use )
char *answer=NULL;
STRLIST backlog=NULL;
- any_recipients = 1;
+ if(pk_list)
+ any_recipients = 1;
def_rec = default_recipient();
have_def_rec = !!def_rec;
if( !have_def_rec )