ec.c: Dispatch to `ecptxl_3' whether or not we have a curve.
[catacomb-python] / ec.c
diff --git a/ec.c b/ec.c
index 7a6ed95..6831552 100644 (file)
--- a/ec.c
+++ b/ec.c
@@ -533,7 +533,7 @@ static int ecptxl_1(ec_curve *c, ec *p, PyObject *x)
   } else if (PySequence_Check(x)) {
     t = x; x = 0;
     n = PySequence_Size(t); if (n < 0) goto end;
-    if (n != 2 && (n != 3 || !c))
+    if (n != 2 && n != 3)
       TYERR("want sequence of two or three items");
     if ((x = PySequence_GetItem(t, 0)) == 0 ||
        (y = PySequence_GetItem(t, 1)) == 0 ||