mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Revert backwards-incompatible const changes.
This commit is contained in:
parent
f9f61b4aa2
commit
15e62742fa
36 changed files with 71 additions and 70 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue