~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ec (ecmeth_mmul): Fix point conversion.
[catacomb-python]
/
ec.c
diff --git
a/ec.c
b/ec.c
index
f31670e
..
9946205
100644
(file)
--- a/
ec.c
+++ b/
ec.c
@@
-774,10
+774,10
@@
static int ecmmul_fill(void *pp, PyObject *me, PyObject *x, PyObject *m)
{
ec_mulfactor *f = pp;
+ EC_CREATE(&f->base);
if (getecpt(ECCURVE_C(me), &f->base, x) ||
(f->exp = getmp(m)) == 0)
return (-1);
- f->base = *ECPT_P(x);
return (0);
}