mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-22 13:24:26 -04:00
improved debug output in gxsnetservice.cc
This commit is contained in:
parent
edef6dc339
commit
0266b3cfa2
2 changed files with 2 additions and 3 deletions
|
@ -896,7 +896,9 @@ bool GxsSecurity::decrypt(uint8_t *& out, uint32_t & outlen, const uint8_t *in,
|
||||||
{
|
{
|
||||||
// cleanup and return false
|
// cleanup and return false
|
||||||
|
|
||||||
|
#ifdef GXS_SECURITY_DEBUG
|
||||||
std::cerr << " (EE) error caught: " << e.what() << std::endl;
|
std::cerr << " (EE) error caught: " << e.what() << std::endl;
|
||||||
|
#endif
|
||||||
if(out)
|
if(out)
|
||||||
{
|
{
|
||||||
free(out) ;
|
free(out) ;
|
||||||
|
|
|
@ -3737,9 +3737,6 @@ bool RsGxsNetService::processTransactionForDecryption(NxsTransaction *tr)
|
||||||
delete encrypted_item ;
|
delete encrypted_item ;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NXS_NET_DEBUG_7
|
|
||||||
GXSNETDEBUG_P_(peerId) << " Decryption successful: replacing items with clear items" << std::endl;
|
|
||||||
#endif
|
|
||||||
return true ;
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue