mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 12:25:59 +03:00
chore(net): set localChallenge value to zero in HandleAuthChallenge
This commit is contained in:
parent
f1d1dad08b
commit
49e2e439c2
@ -110,8 +110,6 @@ int32_t RealmConnection::HandleAuthChallenge(AuthenticationChallenge* challenge)
|
|||||||
// TODO switch to WDataStore
|
// TODO switch to WDataStore
|
||||||
CDataStore msg;
|
CDataStore msg;
|
||||||
|
|
||||||
uint32_t localChallenge;
|
|
||||||
|
|
||||||
msg.Put(static_cast<uint32_t>(CMSG_AUTH_SESSION));
|
msg.Put(static_cast<uint32_t>(CMSG_AUTH_SESSION));
|
||||||
|
|
||||||
msg.Put(static_cast<uint32_t>(12340));
|
msg.Put(static_cast<uint32_t>(12340));
|
||||||
@ -119,7 +117,8 @@ int32_t RealmConnection::HandleAuthChallenge(AuthenticationChallenge* challenge)
|
|||||||
msg.PutString(this->GetLoginData().m_account);
|
msg.PutString(this->GetLoginData().m_account);
|
||||||
msg.Put(static_cast<uint32_t>(this->GetLoginData().m_loginServerType));
|
msg.Put(static_cast<uint32_t>(this->GetLoginData().m_loginServerType));
|
||||||
|
|
||||||
// TODO
|
// TODO: uint32_t localChallenge = NTempest::CRandom::uint32_(v11);
|
||||||
|
uint32_t localChallenge = 0;
|
||||||
msg.Put(localChallenge);
|
msg.Put(localChallenge);
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user