X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b817bfc642225b8c3c0b6a7e42d1fb949b61a606..298182ad446aaced14dea7ed0e7c968946787288:/ec-test.c diff --git a/ec-test.c b/ec-test.c index e83e3ee..6b24357 100644 --- a/ec-test.c +++ b/ec-test.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: ec-test.c,v 1.6 2004/04/08 01:36:15 mdw Exp $ + * $Id$ * * Code for testing elliptic-curve stuff * @@ -103,6 +103,7 @@ static int ecSAMEP(ec_curve *cc, ec_curve *dd) } static const ec_ops ecops = { + "cardboard", ecDESTROY, ecSAMEP, ecIN, ecOUT, ecFIX, ecFIND, ecNEG, ecADD, ecSUB, ecDBL, ecCHECK }; @@ -189,7 +190,7 @@ static void ecdump(dstr *d, FILE *fp) ecdodump(a, fp); } -test_type type_ec = { eccvt, ecdump }; +const test_type type_ec = { eccvt, ecdump }; /*----- Testing elliptic curve functionality ------------------------------*/