From: Mark Wooding Date: Mon, 5 Aug 2013 01:41:12 +0000 (+0100) Subject: math/ec.c (ec_stdsub): Remove redundant `EC_FIX'. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/89f61fab2f6c1290d0e79e363c8992124a5cf8f9 math/ec.c (ec_stdsub): Remove redundant `EC_FIX'. 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... --- diff --git a/math/ec.c b/math/ec.c index f8b77f5..4051bb2 100644 --- 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);