X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/b1ddcca69421a27a09b2f5a5531f02936192736a..ad70a954d0c71d5506143d57c63e58aa09d6a13f:/ec.c diff --git a/ec.c b/ec.c index 094bd00..9af2b0c 100644 --- a/ec.c +++ b/ec.c @@ -986,7 +986,7 @@ static PyObject *ecmeth_parse(PyObject *me, PyObject *arg) if (!PyArg_ParseTuple(arg, "s:parse", &p)) goto end; qd.p = p; qd.e = 0; if ((c = ec_curveparse(&qd)) == 0) VALERR(qd.e); - rc = eccurve_pywrap(0, c); + rc = Py_BuildValue("(Ns)", eccurve_pywrap(0, c), qd.p); end: return (rc); }