mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed some debug info
This commit is contained in:
parent
eca83fdd62
commit
7aea6e5bf8
@ -3864,7 +3864,9 @@ bool RsGxsNetService::decryptSingleNxsItem(const RsNxsEncryptedDataItem *encrypt
|
|||||||
|
|
||||||
if(!GxsSecurity::decrypt(decrypted_mem,decrypted_len, (uint8_t*)encrypted_item->encrypted_data.bin_data,encrypted_item->encrypted_data.bin_len,private_keys))
|
if(!GxsSecurity::decrypt(decrypted_mem,decrypted_len, (uint8_t*)encrypted_item->encrypted_data.bin_data,encrypted_item->encrypted_data.bin_len,private_keys))
|
||||||
{
|
{
|
||||||
std::cerr << "Failed! Cannot decrypt this item." << std::endl;
|
#ifdef NXS_NET_DEBUG_7
|
||||||
|
GXSNETDEBUG_P_(encrypted_item->PeerId()) << " Failed! Cannot decrypt this item." << std::endl;
|
||||||
|
#endif
|
||||||
decrypted_mem = NULL ; // for safety
|
decrypted_mem = NULL ; // for safety
|
||||||
return false ;
|
return false ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user