mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 04:12:40 +01:00
Core/Bnet: SRP6a fix
By Shauren, idk what appened with previous commit
This commit is contained in:
@@ -720,7 +720,7 @@ bool Battlenet::Session::HandlePasswordModule(BitStream* dataStream, ServerPacke
|
||||
clientM1.SetBinary(dataStream->ReadBytes(32).get(), 32);
|
||||
clientChallenge.SetBinary(dataStream->ReadBytes(128).get(), 128);
|
||||
|
||||
if (A.IsZero())
|
||||
if ((A % N).IsZero())
|
||||
{
|
||||
Authentication::LogonResponse* logonResponse = new Authentication::LogonResponse();
|
||||
logonResponse->SetAuthResult(AUTH_CORRUPTED_MODULE);
|
||||
|
||||
Reference in New Issue
Block a user