X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/b2687a0a4b3c5e45cad7c5815a6d3805bfc8d4f1..0040152918b6695e73807fd479024db8a27a83fb:/share.c diff --git a/share.c b/share.c index 011de17..7e58783 100644 --- a/share.c +++ b/share.c @@ -1,7 +1,5 @@ /* -*-c-*- * - * $Id$ - * * Secret sharing * * (c) 2005 Straylight/Edgeware @@ -410,7 +408,7 @@ static PyObject *sharesplit_pynew(PyTypeObject *ty, mp *m = 0; share_pyobj *s; char *kwlist[] = { "threshold", "secret", "modulus", "rng", 0 }; - if (!PyArg_ParseTupleAndKeywords(arg, kw, "O&)&|O&O&:new", kwlist, + if (!PyArg_ParseTupleAndKeywords(arg, kw, "O&O&|O&O&:new", kwlist, convuint, &t, convmp, &sec, convmp, &m, convgrand, &r)) goto end;