Core/Bnet: SRP6a fix

By Shauren, idk what appened with previous commit
This commit is contained in:
Aokromes
2017-03-23 00:09:29 +01:00
parent a50db6df81
commit 386e6e5b58

View File

@@ -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);