Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This resolves another authentication bypass issue
This commit is contained in:
parent
6908181569
commit
a67ceca682
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue