diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 20:01:53 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 20:01:53 +0200 |
commit | 5c633fc25fc6f9beee3ccb9ebc06633d1c9a1bc3 (patch) | |
tree | 451f469d7131b79436a1a1017463cd8d7c1ddded /Modules/_ssl.c | |
parent | d1ba93f9a6a441ac31c5fd1890ce730b9e6d330d (diff) | |
download | cpython-5c633fc25fc6f9beee3ccb9ebc06633d1c9a1bc3.tar.gz |
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 8818d26e09..5968ed5330 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -378,7 +378,7 @@ fail: } static PyObject * -PySSL_SetError(PySSLSocket *obj, int ret, char *filename, int lineno) +PySSL_SetError(PySSLSocket *obj, int ret, const char *filename, int lineno) { PyObject *type = PySSLErrorObject; char *errstr = NULL; @@ -460,7 +460,7 @@ PySSL_SetError(PySSLSocket *obj, int ret, char *filename, int lineno) } static PyObject * -_setSSLError (char *errstr, int errcode, char *filename, int lineno) { +_setSSLError (const char *errstr, int errcode, const char *filename, int lineno) { if (errstr == NULL) errcode = ERR_peek_last_error(); |