summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorKristian Rastrup <kristian@rastrup.net>2019-06-12 12:35:21 +0200
committerGitHub <noreply@github.com>2019-06-12 12:35:21 +0200
commitf151a95b2444754fdb6fda55363546e8d73ec6fe (patch)
treeb719a63eda479fb5a9241ca179a01da1742ee25c /crypto/test
parentRefactoring (diff)
downloadBouncyCastle.NET-ed25519-f151a95b2444754fdb6fda55363546e8d73ec6fe.tar.xz
Update ECPointTest.cs
Updated to test all points and not just the first
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/math/ec/test/ECPointTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/math/ec/test/ECPointTest.cs b/crypto/test/src/math/ec/test/ECPointTest.cs

index a5ca083e2..dbd739023 100644 --- a/crypto/test/src/math/ec/test/ECPointTest.cs +++ b/crypto/test/src/math/ec/test/ECPointTest.cs
@@ -268,12 +268,12 @@ namespace Org.BouncyCastle.Math.EC.Tests { for (int i = 0; i < Fp.p.Length; i++) { - ImplTestAllPoints(Fp.p[0], Fp.infinity); + ImplTestAllPoints(Fp.p[i], Fp.infinity); } for (int i = 0; i < F2m.p.Length; i++) { - ImplTestAllPoints(F2m.p[0], F2m.infinity); + ImplTestAllPoints(F2m.p[i], F2m.infinity); } }