aboutsummaryrefslogtreecommitdiffstats
path: root/sm/encrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2001-12-15 12:36:39 +0000
committerWerner Koch <[email protected]>2001-12-15 12:36:39 +0000
commit1301c0b5efda39c5257dd9dbde87211a4b54c9d2 (patch)
treecbf4ded1d97a541cb8aaf7715c8954016a98cdf3 /sm/encrypt.c
parent* keylist.c (list_cert_colon): Kludge to show an email address (diff)
downloadgnupg-1301c0b5efda39c5257dd9dbde87211a4b54c9d2.tar.gz
gnupg-1301c0b5efda39c5257dd9dbde87211a4b54c9d2.zip
* decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.
* sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED.
Diffstat (limited to '')
-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 ();