Starting to add sha-1 and aes wrapper.

This commit is contained in:
lotodore
2009-12-28 12:16:52 +00:00
parent b0f764d4bd
commit 4692c16a92
6 changed files with 143 additions and 33 deletions
+1 -1
View File
@@ -704,7 +704,7 @@ ClientThread::RetrieveAvatarIfNeeded(unsigned id, const PlayerInfo &info)
AvatarRequestMessage_t *netAvatar = &packet->GetMsg()->choice.avatarRequestMessage;
netAvatar->requestId = id;
OCTET_STRING_fromBuf(&netAvatar->avatar,
(const char *)info.avatar.data,
(const char *)info.avatar.GetData(),
MD5_DATA_SIZE);
GetSender().Send(GetContext().GetSessionData(), packet);
}