diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-13 22:06:39 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-13 22:06:39 (GMT) |
commit | eb1410fc40e07d71c51b781ea2436f9e5ad90178 (patch) | |
tree | a52c986ee09f7fba7ff5bd0859bc94a0e5e05875 /Modules | |
parent | 8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac (diff) | |
download | cpython-eb1410fc40e07d71c51b781ea2436f9e5ad90178.zip cpython-eb1410fc40e07d71c51b781ea2436f9e5ad90178.tar.gz cpython-eb1410fc40e07d71c51b781ea2436f9e5ad90178.tar.bz2 |
constify to appease compiler warnings
Diffstat (limited to 'Modules')
-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 499ecba..e1cd3dc 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -552,7 +552,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; @@ -923,7 +923,7 @@ return the certificate even if it wasn't validated."); static PyObject *PySSL_cipher (PySSLSocket *self) { PyObject *retval, *v; - SSL_CIPHER *current; + const SSL_CIPHER *current; char *cipher_name; char *cipher_protocol; |