mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed commit 8448. Initialized the the member aes_key of DistantChatPeerInfo with memset.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4f4b0f319d
commit
a4e72da526
@ -67,7 +67,7 @@ private:
|
||||
public:
|
||||
DistantChatPeerInfo() : last_contact(0), last_keep_alive_sent(0), status(0), direction(0)
|
||||
{
|
||||
*aes_key = 0;
|
||||
memset(aes_key, 0, DISTANT_CHAT_AES_KEY_SIZE);
|
||||
}
|
||||
|
||||
time_t last_contact ; // used to keep track of working connexion
|
||||
|
Loading…
Reference in New Issue
Block a user