~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
infra: Remove BRANCHES file.
[catacomb]
/
ec-test.c
diff --git
a/ec-test.c
b/ec-test.c
index
e83e3ee
..
6b24357
100644
(file)
--- a/
ec-test.c
+++ b/
ec-test.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: ec-test.c,v 1.6 2004/04/08 01:36:15 mdw Exp
$
+ * $Id$
*
* Code for testing elliptic-curve stuff
*
*
* Code for testing elliptic-curve stuff
*
@@
-103,6
+103,7
@@
static int ecSAMEP(ec_curve *cc, ec_curve *dd)
}
static const ec_ops ecops = {
}
static const ec_ops ecops = {
+ "cardboard",
ecDESTROY, ecSAMEP, ecIN, ecOUT, ecFIX,
ecFIND, ecNEG, ecADD, ecSUB, ecDBL, ecCHECK
};
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);
}
ecdodump(a, fp);
}
-test_type type_ec = { eccvt, ecdump };
+
const
test_type type_ec = { eccvt, ecdump };
/*----- Testing elliptic curve functionality ------------------------------*/
/*----- Testing elliptic curve functionality ------------------------------*/