From: Marcus Brinkmann Date: Thu, 13 Dec 2001 22:12:06 +0000 (+0000) Subject: 2001-12-13 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~1207 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fcba6ef5db1c588b5057545992a5020e266d231a;p=gpgme.git 2001-12-13 Marcus Brinkmann * engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): Do not add `armor' option to `ENCRYPT'. * engine-gpgsm.c (gpgsm_set_recipients): Free LINE when returning successfully. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index c314452..0aca485 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,10 @@ +2001-12-13 Marcus Brinkmann + + * engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): Do not add `armor' + option to `ENCRYPT'. + * engine-gpgsm.c (gpgsm_set_recipients): Free LINE when returning + successfully. + 2001-12-13 Marcus Brinkmann * engine-gpgsm.c (close_notify_handler): New function. diff --git a/trunk/gpgme/engine-gpgsm.c b/trunk/gpgme/engine-gpgsm.c index 776ef0b..887e9ef 100644 --- a/trunk/gpgme/engine-gpgsm.c +++ b/trunk/gpgme/engine-gpgsm.c @@ -335,6 +335,7 @@ gpgsm_set_recipients (ASSUAN_CONTEXT ctx, GpgmeRecipients recp) return err; } } + xfree (line); return 0; } @@ -347,7 +348,7 @@ _gpgme_gpgsm_op_encrypt (GpgsmObject gpgsm, GpgmeRecipients recp, if (!gpgsm) return mk_error (Invalid_Value); - gpgsm->command = xtrystrdup (use_armor ? "ENCRYPT armor" : "ENCRYPT"); + gpgsm->command = xtrystrdup ("ENCRYPT"); if (!gpgsm->command) return mk_error (Out_Of_Core);