~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ec.c, catacomb/__init__.py: Return tail from `parse'; provide `fromstring'.
[catacomb-python]
/
ec.c
diff --git
a/ec.c
b/ec.c
index
094bd00
..
9af2b0c
100644
(file)
--- 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);
}