Browse Source

update ECPointTests

Ugochukwu Mmaduekwe 6 years ago
parent
commit
385045dc9c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CryptoLib.Tests/src/Math/ECPointTests.pas

+ 2 - 2
CryptoLib.Tests/src/Math/ECPointTests.pas

@@ -654,14 +654,14 @@ begin
   i := 0;
   while i < System.Length(FpInstance.Fp) do
   begin
-    ImplTestAllPoints(FpInstance.Fp[0], FpInstance.FInfinity);
+    ImplTestAllPoints(FpInstance.Fp[i], FpInstance.FInfinity);
     System.Inc(i);
   end;
 
   i := 0;
   while i < System.Length(F2mInstance.Fp) do
   begin
-    ImplTestAllPoints(F2mInstance.Fp[0], F2mInstance.FInfinity);
+    ImplTestAllPoints(F2mInstance.Fp[i], F2mInstance.FInfinity);
     System.Inc(i);
   end;
 end;