aboutsummaryrefslogtreecommitdiffstats
path: root/sm/encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/encrypt.c')
-rw-r--r--sm/encrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/encrypt.c b/sm/encrypt.c
index bbf3c4571..b8981508a 100644
--- a/sm/encrypt.c
+++ b/sm/encrypt.c
@@ -407,6 +407,8 @@ gpgsm_encrypt (CTRL ctrl, CERTLIST recplist, int data_fd, FILE *out_fp)
}
/* If no recipient list is given, use a default one */
+ /* FIXME: we shoudl not do this but return an error and a
+ STATUS_NO_RECP */
if (!recplist)
{
help_recplist.cert = get_default_recipient ();