diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 16:46:16 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 16:46:16 (GMT) |
commit | 15e62742fad688b026ba80bf17d1345c4cbd423b (patch) | |
tree | fb3545d1da59e94df32d48f21df620681b08765c /Modules/sha512module.c | |
parent | f9f61b4aa281c1b19546dba7f1ee529b8b80bc9a (diff) | |
download | cpython-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.c | 4 |
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; |