From 83855db1964bbc018561f9433b924ccc9cbcc3da Mon Sep 17 00:00:00 2001 From: Karl-Heinz Zimmer Date: Sat, 24 Nov 2001 10:51:55 +0000 Subject: [PATCH] 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...) --- gpgmeplug/gpgmeplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index d6db832d..b2e61bb0 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 );