chiark / gitweb /
algorithms.c (KECCAK.extract): Fix method name in keyword-args string.
[catacomb-python] / algorithms.c
index dcfb22d9e287cb0d4da54cc1c1db21ebab9a6a81..24ebd748af9cbc58a562875f9885c8c61d3200e5 100644 (file)
@@ -1645,7 +1645,7 @@ static PyObject *kxvikmeth_extract(PyObject *me, PyObject *arg)
   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);