mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added check of function parameter to DistantChatService::handleRecvDHPublicKey.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6e4045124c
commit
eca970bb0c
@ -509,6 +509,11 @@ bool DistantChatService::handleEncryptedData(const uint8_t *data_bytes,uint32_t
|
||||
|
||||
void DistantChatService::handleRecvDHPublicKey(RsChatDHPublicKeyItem *item)
|
||||
{
|
||||
if (!item)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_DISTANT_CHAT
|
||||
std::cerr << "DistantChatService: Received DH public key." << std::endl;
|
||||
item->print(std::cerr, 0) ;
|
||||
|
Loading…
Reference in New Issue
Block a user