~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ec.c: Don't drop through into an error case.
[catacomb-python]
/
ec.c
diff --git
a/ec.c
b/ec.c
index
64ac276
..
3cd52bc
100644
(file)
--- a/
ec.c
+++ b/
ec.c
@@
-790,7
+790,7
@@
static PyObject *eccurve_pyrichcompare(PyObject *x, PyObject *y, int op)
int b = ec_samep(ECCURVE_C(x), ECCURVE_C(y));
switch (op) {
case Py_EQ: break;
- case Py_NE: b = !b;
+ case Py_NE: b = !b;
break;
default: TYERR("can't order elliptic curves");
}
return (getbool(b));