algorithms.c (KECCAK.extract): Fix method name in keyword-args string.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 14 Oct 2019 00:00:20 +0000 (01:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 22 Nov 2019 22:18:12 +0000 (22:18 +0000)
algorithms.c

index dcfb22d..24ebd74 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);