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:
csoler 2014-01-26 20:30:10 +00:00
parent 5896de972e
commit ef0a9e43ca

View File

@ -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) ;