diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2020-04-12 14:58:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-12 14:58:27 +0300 |
| commit | 8f87eefe7f0576c05c488874eb9601a7a87c7312 (patch) | |
| tree | 10ea36d1f702ae9e8bc34bcc88588868706948f6 /Modules/_ssl.c | |
| parent | 3e0dd3730b5eff7e9ae6fb921aa77cd26efc9e3a (diff) | |
| download | cpython-git-8f87eefe7f0576c05c488874eb9601a7a87c7312.tar.gz | |
bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. (GH-19472)
Diffstat (limited to 'Modules/_ssl.c')
| -rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index ef04712636..a471a26e93 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -4037,7 +4037,7 @@ error: /* internal helper function, returns -1 on error */ static int -_add_ca_certs(PySSLContext *self, void *data, Py_ssize_t len, +_add_ca_certs(PySSLContext *self, const void *data, Py_ssize_t len, int filetype) { BIO *biobuf = NULL; |
