mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-24 00:40:11 -05:00
fixed proper return of decryption result so that the PGPHandler can report it
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5896de972e
commit
ef0a9e43ca
@ -339,15 +339,13 @@ ops_boolean_t ops_decrypt_memory(const unsigned char *encrypted_memory,int em_le
|
||||
|
||||
// Do it
|
||||
|
||||
ops_parse_and_print_errors(pinfo);
|
||||
ops_boolean_t res = ops_parse_and_print_errors(pinfo);
|
||||
|
||||
// Unsetup
|
||||
|
||||
if (use_armour)
|
||||
ops_reader_pop_dearmour(pinfo);
|
||||
|
||||
ops_boolean_t res = ops_true ;
|
||||
|
||||
// copy output memory to supplied buffer.
|
||||
//
|
||||
*out_length = ops_memory_get_length(output_mem) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user