From: Karl-Heinz Zimmer Date: Sat, 24 Nov 2001 10:51:55 +0000 (+0000) Subject: signing now returns only the SIGNATURE - not the original text - since building of... X-Git-Tag: gpgme-0-3-0~72 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83855db1964bbc018561f9433b924ccc9cbcc3da;p=gpgme.git signing now returns only the SIGNATURE - not the original text - since building of the S/MIME object is done in the calling program (the MUA...) --- diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index d6db832..b2e61bb 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/gpgmeplug/gpgmeplug.c @@ -751,7 +751,7 @@ bool signMessage( const char* cleartext, gpgme_set_textmode (ctx, 1); gpgme_data_new_from_mem (&data, cleartext, - strlen( cleartext ), 1 ); + 1+strlen( cleartext ), 1 ); gpgme_data_new ( &sig ); gpgme_op_sign (ctx, data, sig, GPGME_SIG_MODE_DETACH );