chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ec: Convert generator to external form in ECInfo constructor.
[catacomb-python]
/
ec.c
diff --git
a/ec.c
b/ec.c
index 51733568dfb89ddf4ba025d62bbd5314d84153db..fcbb8c253cc6ee160f97276b065b95451e11c061 100644
(file)
--- a/
ec.c
+++ b/
ec.c
@@
-1327,7
+1327,7
@@
static PyObject *ecinfo_pynew(PyTypeObject *ty, PyObject *arg, PyObject *kw)
TYERR("point not from this curve");
ei.c = ECCURVE_C(e);
EC_CREATE(&ei.g);
- EC_
COPY(
&ei.g, ECPT_P(g));
+ EC_
OUT(ei.c,
&ei.g, ECPT_P(g));
rc = (ecinfo_pyobj *)ty->tp_alloc(ty, 0);
rc->ei = ei;
rc->cobj = e;