aboutsummaryrefslogtreecommitdiff
path: root/src/math/point.c
diff options
context:
space:
mode:
authorJ08nY2017-02-14 22:57:49 +0100
committerJ08nY2017-02-14 22:57:49 +0100
commit2cf95775a1d1a41d49f86cbd2d66290653201367 (patch)
treedcaacac863a68ff69639a73c363dd498808e93e2 /src/math/point.c
parent39c6155e0193ff69dcdf765e936487bfcf4f1b17 (diff)
downloadecgen-2cf95775a1d1a41d49f86cbd2d66290653201367.tar.gz
ecgen-2cf95775a1d1a41d49f86cbd2d66290653201367.tar.zst
ecgen-2cf95775a1d1a41d49f86cbd2d66290653201367.zip
Diffstat (limited to 'src/math/point.c')
-rw-r--r--src/math/point.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/point.c b/src/math/point.c
index 2cf1042..0bedc11 100644
--- a/src/math/point.c
+++ b/src/math/point.c
@@ -102,7 +102,7 @@ int points_prime(curve_t *curve, config_t *config, ...) {
point_t *p = point_new();
p->point = point;
- p->order = ord;
+ p->order = gel(primes, i);
curve->points[i - 1] = p;
npoints++;
}