From ae5dbbad6a05a824599c6655ec9ae9d579e9c30d Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 14 Oct 2019 01:00:20 +0100 Subject: [PATCH] algorithms.c (KECCAK.extract): Fix method name in keyword-args string. --- algorithms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms.c b/algorithms.c index dcfb22d..24ebd74 100644 --- a/algorithms.c +++ b/algorithms.c @@ -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); -- 2.11.0