mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
chore(Core/Authserver): Remove redundant conversion during Reconnect Proof cmd (#18957)
https://github.com/TrinityCore/TrinityCore/pull/26765 Author: [walkline](https://github.com/walkline)
This commit is contained in:
@@ -689,12 +689,9 @@ bool AuthSession::HandleReconnectProof()
|
||||
if (_accountInfo.Login.empty())
|
||||
return false;
|
||||
|
||||
BigNumber t1;
|
||||
t1.SetBinary(reconnectProof->R1, 16);
|
||||
|
||||
Acore::Crypto::SHA1 sha;
|
||||
sha.UpdateData(_accountInfo.Login);
|
||||
sha.UpdateData(t1.ToByteArray<16>());
|
||||
sha.UpdateData(reconnectProof->R1, 16);
|
||||
sha.UpdateData(_reconnectProof);
|
||||
sha.UpdateData(_sessionKey);
|
||||
sha.Finalize();
|
||||
|
||||
Reference in New Issue
Block a user