summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-13 22:20:48 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-10-13 22:20:48 (GMT)
commit31370951c007379e9cc4654321f28cd9e1d0956f (patch)
tree69db03b0b792ddc1b5d1fb0de9990f38ed6cbf31 /Modules/_ssl.c
parentae87a27a2994718e8e1b77f06b173882ec5c7704 (diff)
downloadcpython-31370951c007379e9cc4654321f28cd9e1d0956f.zip
cpython-31370951c007379e9cc4654321f28cd9e1d0956f.tar.gz
cpython-31370951c007379e9cc4654321f28cd9e1d0956f.tar.bz2
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 ........
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index b98b03b..d4e550e 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -670,7 +670,7 @@ _get_peer_alt_names (X509 *certificate) {
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;
@@ -1042,7 +1042,7 @@ return the certificate even if it wasn't validated.");
static PyObject *PySSL_cipher (PySSLObject *self) {
PyObject *retval, *v;
- SSL_CIPHER *current;
+ const SSL_CIPHER *current;
char *cipher_name;
char *cipher_protocol;