Mercurial > cpython-lru_cache-weakref
diff Modules/_ssl.c @ 65269:f2f7b70fc5eb 2.7
Merged revisions 85432 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85432 | benjamin.peterson | 2010-10-13 17:06:39 -0500 (Wed, 13 Oct 2010) | 1 line
constify to appease compiler warnings
........
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Wed, 13 Oct 2010 22:10:31 +0000 |
| parents | 0420f547f3bf |
| children | 21df8155c770 |
line wrap: on
line diff
--- a/Modules/_ssl.c Wed Oct 13 22:07:17 2010 +0000 +++ b/Modules/_ssl.c Wed Oct 13 22:10:31 2010 +0000 @@ -680,7 +680,7 @@ X509_EXTENSION *ext = NULL; GENERAL_NAMES *names = NULL; GENERAL_NAME *name; - X509V3_EXT_METHOD *method; + const X509V3_EXT_METHOD *method; BIO *biobuf = NULL; char buf[2048]; char *vptr; @@ -1041,7 +1041,7 @@ static PyObject *PySSL_cipher (PySSLObject *self) { PyObject *retval, *v; - SSL_CIPHER *current; + const SSL_CIPHER *current; char *cipher_name; char *cipher_protocol;
