math/ec.c (ec_stdsub): Remove redundant `EC_FIX'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:41:12 +0000 (02:41 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:58:24 +0000 (02:58 +0100)
This was left over from the old days, when the right input to `add'
was guaranteed to be in canonical form.  It's not been necessary since
391faf4...

math/ec.c

index f8b77f5..4051bb2 100644 (file)
--- a/math/ec.c
+++ b/math/ec.c
@@ -261,7 +261,6 @@ ec *ec_stdsub(ec_curve *c, ec *d, const ec *p, const ec *q)
 {
   ec t = EC_INIT;
   EC_NEG(c, &t, q);
-  EC_FIX(c, &t, &t);
   EC_ADD(c, d, p, &t);
   EC_DESTROY(&t);
   return (d);