aboutsummaryrefslogtreecommitdiff
path: root/src/math/point.c
diff options
context:
space:
mode:
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++;
}