ec.c: Fix reported function name in `ec2osp'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 11 Oct 2019 09:00:46 +0000 (10:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 02:50:40 +0000 (02:50 +0000)
ec.c

diff --git a/ec.c b/ec.c
index 0dd04d2..7fd369d 100644 (file)
--- a/ec.c
+++ b/ec.c
@@ -302,7 +302,7 @@ static PyObject *epmeth_ec2osp(PyObject *me, PyObject *arg, PyObject *kw)
   int len;
   char *kwlist[] = { "flags", 0 };
 
-  if (!PyArg_ParseTupleAndKeywords(arg, kw, "|i:ectosp", kwlist, &f))
+  if (!PyArg_ParseTupleAndKeywords(arg, kw, "|i:ec2osp", kwlist, &f))
     return (0);
   len = c->f->noctets * 2 + 1;
   rc = bytestring_pywrap(0, len);