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...)

This commit is contained in:
Karl-Heinz Zimmer 2001-11-24 10:51:55 +00:00
parent 8c3726d634
commit 83855db196

View File

@ -751,7 +751,7 @@ bool signMessage( const char* cleartext,
gpgme_set_textmode (ctx, 1); gpgme_set_textmode (ctx, 1);
gpgme_data_new_from_mem (&data, cleartext, gpgme_data_new_from_mem (&data, cleartext,
strlen( cleartext ), 1 ); 1+strlen( cleartext ), 1 );
gpgme_data_new ( &sig ); gpgme_data_new ( &sig );
gpgme_op_sign (ctx, data, sig, GPGME_SIG_MODE_DETACH ); gpgme_op_sign (ctx, data, sig, GPGME_SIG_MODE_DETACH );