From a1408fc5a08072822da65ea33a1a69eb90fbd82d Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Wed, 5 Aug 2015 22:26:50 +0200 Subject: [PATCH] Fix unit test for point_jacobian_add --- test_curves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_curves.py b/test_curves.py index bf6d20634c..6aa4cb4ad4 100755 --- a/test_curves.py +++ b/test_curves.py @@ -292,7 +292,7 @@ def test_jacobian_add(curve, r): q = POINT() jp2 = JACOBIAN() lib.curve_to_jacobian(to_POINT(p2), jp2, prime) - lib.point_jacobian_add(to_POINT(p1), jp2, prime) + lib.point_jacobian_add(to_POINT(p1), jp2, curve.ptr) lib.jacobian_to_curve(jp2, q, prime) q = from_POINT(q) p_ = p1 + p2