diff options
| author | Karl-Heinz Zimmer <[email protected]> | 2001-11-24 11:51:55 +0100 |
|---|---|---|
| committer | Karl-Heinz Zimmer <[email protected]> | 2001-11-24 11:51:55 +0100 |
| commit | 83855db1964bbc018561f9433b924ccc9cbcc3da (patch) | |
| tree | b8b6a2f9b895b7f7d13cf788848ba95cab71d14d /gpgmeplug | |
| parent | 2001-11-23 Marcus Brinkmann <[email protected]> (diff) | |
| download | gpgme-83855db1964bbc018561f9433b924ccc9cbcc3da.tar.gz gpgme-83855db1964bbc018561f9433b924ccc9cbcc3da.zip | |
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...)
Diffstat (limited to 'gpgmeplug')
| -rw-r--r-- | gpgmeplug/gpgmeplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |
