mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 16:49:20 -05:00
fixed binary signature
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ce5e6d3949
commit
60fcd981c1
6 changed files with 72 additions and 20 deletions
|
|
@ -1266,7 +1266,8 @@ void example(const ops_secret_key_t *skey)
|
|||
ops_memory_t* ops_sign_buf(const void* input, const size_t input_len,
|
||||
const ops_sig_type_t sig_type,
|
||||
const ops_secret_key_t *skey,
|
||||
const ops_boolean_t use_armour)
|
||||
const ops_boolean_t use_armour,
|
||||
ops_boolean_t include_data)
|
||||
{
|
||||
// \todo allow choice of hash algorithams
|
||||
// enforce use of SHA1 for now
|
||||
|
|
@ -1313,7 +1314,8 @@ ops_memory_t* ops_sign_buf(const void* input, const size_t input_len,
|
|||
if (debug)
|
||||
fprintf(stderr,"** Writing out data now\n");
|
||||
|
||||
ops_write_literal_data_from_buf(input, input_len, ld_type, cinfo);
|
||||
if(include_data)
|
||||
ops_write_literal_data_from_buf(input, input_len, ld_type, cinfo);
|
||||
|
||||
if (debug)
|
||||
fprintf(stderr,"** After Writing out data now\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue