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:
parent
8c3726d634
commit
83855db196
@ -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 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user