summaryrefslogtreecommitdiff
path: root/testsuite/testutils.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-07-11 23:00:22 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-07-11 23:00:22 +0200
commit95652d25d3801844609ff0a4b63872cb756e1dea (patch)
treea136ab67a7e28cc490fc928b033cfca114f2a087 /testsuite/testutils.c
parent17165610e482fb3ec9327dcf231bb83787a77fc1 (diff)
downloadnettle-95652d25d3801844609ff0a4b63872cb756e1dea.tar.gz
Made test_ecc_point non-static in testutils.c.
Diffstat (limited to 'testsuite/testutils.c')
-rw-r--r--testsuite/testutils.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/testsuite/testutils.c b/testsuite/testutils.c
index a5f67f9d..9739c9ed 100644
--- a/testsuite/testutils.c
+++ b/testsuite/testutils.c
@@ -1276,12 +1276,6 @@ test_mpn (const char *ref, const mp_limb_t *xp, mp_size_t n)
return res;
}
-struct ecc_ref_point
-{
- const char *x;
- const char *y;
-};
-
void
write_mpn (FILE *f, int base, const mp_limb_t *xp, mp_size_t n)
{
@@ -1289,7 +1283,7 @@ write_mpn (FILE *f, int base, const mp_limb_t *xp, mp_size_t n)
mpz_out_str (f, base, mpz_roinit_n (t,xp, n));
}
-static void
+void
test_ecc_point (const struct ecc_curve *ecc,
const struct ecc_ref_point *ref,
const mp_limb_t *p)