~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541d647
)
buffer.c: Handle curve object as `PyObject *'.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 22 Oct 2019 10:27:49 +0000
(11:27 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:44:21 +0000
(12:44 +0100)
I've not checked, but I think this is the only place where a
pre- existing curve object was handled as `PyTypeObject *'.
buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/buffer.c
b/buffer.c
index
245ce8f
..
f615858
100644
(file)
--- a/
buffer.c
+++ b/
buffer.c
@@
-184,7
+184,7
@@
end:
static PyObject *rbmeth_getecptraw(PyObject *me, PyObject *arg)
{
- Py
Type
Object *cobj;
+ PyObject *cobj;
ec pt = EC_INIT;
if (!PyArg_ParseTuple(arg, "O!:getecptraw", eccurve_pytype, &cobj))
goto end;