mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +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
|
@ -624,7 +624,7 @@ PyDoc_STRVAR(SHA256_new__doc__,
|
|||
static PyObject *
|
||||
SHA256_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;
|
||||
|
@ -655,7 +655,7 @@ PyDoc_STRVAR(SHA224_new__doc__,
|
|||
static PyObject *
|
||||
SHA224_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