summaryrefslogtreecommitdiffstats
path: root/Modules/sha512module.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-27 16:46:16 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-27 16:46:16 (GMT)
commit15e62742fad688b026ba80bf17d1345c4cbd423b (patch)
treefb3545d1da59e94df32d48f21df620681b08765c /Modules/sha512module.c
parentf9f61b4aa281c1b19546dba7f1ee529b8b80bc9a (diff)
downloadcpython-15e62742fad688b026ba80bf17d1345c4cbd423b.zip
cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.gz
cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.bz2
Revert backwards-incompatible const changes.
Diffstat (limited to 'Modules/sha512module.c')
-rw-r--r--Modules/sha512module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/sha512module.c b/Modules/sha512module.c
index 3837795..539204e 100644
--- a/Modules/sha512module.c
+++ b/Modules/sha512module.c
@@ -690,7 +690,7 @@ PyDoc_STRVAR(SHA512_new__doc__,
static PyObject *
SHA512_new(PyObject *self, PyObject *args, PyObject *kwdict)
{
- static const char *kwlist[] = {"string", NULL};
+ static char *kwlist[] = {"string", NULL};
SHAobject *new;
unsigned char *cp = NULL;
int len;
@@ -721,7 +721,7 @@ PyDoc_STRVAR(SHA384_new__doc__,
static PyObject *
SHA384_new(PyObject *self, PyObject *args, PyObject *kwdict)
{
- static const char *kwlist[] = {"string", NULL};
+ static char *kwlist[] = {"string", NULL};
SHAobject *new;
unsigned char *cp = NULL;
int len;