chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
algorithms.c (KECCAK.extract): Fix method name in keyword-args string.
[catacomb-python]
/
algorithms.c
diff --git
a/algorithms.c
b/algorithms.c
index dcfb22d9e287cb0d4da54cc1c1db21ebab9a6a81..24ebd748af9cbc58a562875f9885c8c61d3200e5 100644
(file)
--- a/
algorithms.c
+++ b/
algorithms.c
@@
-1645,7
+1645,7
@@
static PyObject *kxvikmeth_extract(PyObject *me, PyObject *arg)
unsigned i;
unsigned n;
unsigned i;
unsigned n;
- if (!PyArg_ParseTuple(arg, "O&:
mix
", convuint, &n)) goto end;
+ if (!PyArg_ParseTuple(arg, "O&:
extract
", convuint, &n)) goto end;
if (n > 200) VALERR("out of range");
rc = bytestring_pywrap(0, n);
q = (octet *)PyString_AS_STRING(rc);
if (n > 200) VALERR("out of range");
rc = bytestring_pywrap(0, n);
q = (octet *)PyString_AS_STRING(rc);