summaryrefslogtreecommitdiff
path: root/src/authserver
diff options
context:
space:
mode:
Diffstat (limited to 'src/authserver')
-rw-r--r--src/authserver/Server/AuthSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authserver/Server/AuthSocket.cpp b/src/authserver/Server/AuthSocket.cpp
index b9e935a6d0..b9671c0d12 100644
--- a/src/authserver/Server/AuthSocket.cpp
+++ b/src/authserver/Server/AuthSocket.cpp
@@ -557,7 +557,7 @@ bool AuthSocket::_HandleLogonProof()
A.SetBinary(lp.A, 32);
// SRP safeguard: abort if A == 0
- if (A.isZero())
+ if ((A % N).isZero())
{
socket().shutdown();
return true;