summaryrefslogtreecommitdiffstats
path: root/Modules/sha512module.c
diff options
context:
space:
mode:
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;