diff --git a/src/net/login/GruntLogin.cpp b/src/net/login/GruntLogin.cpp index dd9a5ee..71b93cb 100644 --- a/src/net/login/GruntLogin.cpp +++ b/src/net/login/GruntLogin.cpp @@ -95,9 +95,13 @@ const uint8_t* GruntLogin::GetVersionChallenge() { void GruntLogin::GetVersionProof(const uint8_t* versionChallenge) { if (this->IsReconnect()) { - // TODO + // During reconnect, version challenge is ignored and version checksum is zeroed out + uint8_t versionChecksum[VERSION_CHECKSUM_LEN] = {}; + + this->m_clientLink->ProveVersion(versionChecksum); } else { memcpy(this->m_versionChallenge, versionChallenge, sizeof(this->m_versionChallenge)); + LOGIN_STATE nextState = this->NextSecurityState(LOGIN_STATE_FIRST_SECURITY); this->m_loginResponse->UpdateLoginStatus(