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:
thunder2 2015-06-15 09:04:26 +00:00
parent 4f4b0f319d
commit a4e72da526

View File

@ -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