X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/5e68fc2a078997337ca62924cd3fd481d172e42b..4281a7ee8646165a39f03bcab908b30dee643dae:/ec.c diff --git a/ec.c b/ec.c index ef5d855..6280010 100644 --- a/ec.c +++ b/ec.c @@ -465,7 +465,7 @@ static int ecptxl_1(ec_curve *c, ec *p, PyObject *x) if (!EC_FIND(c, p, xx)) VALERR("not on the curve"); } else if (PySequence_Check(x)) { t = x; x = 0; - n = PySequence_Size(t); + n = PySequence_Size(t); if (n < 0) goto end; if (n != 2 && (n != 3 || !c)) TYERR("want sequence of two or three items"); if ((x = PySequence_GetItem(t, 0)) == 0 ||