improved debug output in gxsnetservice.cc

This commit is contained in:
csoler 2016-02-21 11:34:49 -05:00
parent edef6dc339
commit 0266b3cfa2
2 changed files with 2 additions and 3 deletions

View File

@ -896,7 +896,9 @@ bool GxsSecurity::decrypt(uint8_t *& out, uint32_t & outlen, const uint8_t *in,
{
// cleanup and return false
#ifdef GXS_SECURITY_DEBUG
std::cerr << " (EE) error caught: " << e.what() << std::endl;
#endif
if(out)
{
free(out) ;

View File

@ -3737,9 +3737,6 @@ bool RsGxsNetService::processTransactionForDecryption(NxsTransaction *tr)
delete encrypted_item ;
}
#ifdef NXS_NET_DEBUG_7
GXSNETDEBUG_P_(peerId) << " Decryption successful: replacing items with clear items" << std::endl;
#endif
return true ;
}