From 9395aecc38d5f78c70718c7b87f21de021afcdc7 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...) --- trunk/gpgmeplug/gpgmeplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index d6db832..b2e61bb 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/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 ); -- 2.26.2