Browse Source

minor fix

Ugochukwu Mmaduekwe 7 years ago
parent
commit
88ba317fb1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      CryptoLib/src/Math/EC/ClpECFieldElement.pas

+ 1 - 0
CryptoLib/src/Math/EC/ClpECFieldElement.pas

@@ -1250,6 +1250,7 @@ begin
     y := ModMult(t2, t4);
 
     result := CheckSqrt(TFpFieldElement.Create(Fq, Fr, y) as IFpFieldElement);
+    Exit;
   end;
 
   // q == 8m + 1