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:
parent
6343ec9c0b
commit
c8cb2e55ee
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue