Commit eb1410fc authored by Benjamin Peterson's avatar Benjamin Peterson

constify to appease compiler warnings

parent 8f6b6b0c
...@@ -552,7 +552,7 @@ _get_peer_alt_names (X509 *certificate) { ...@@ -552,7 +552,7 @@ _get_peer_alt_names (X509 *certificate) {
X509_EXTENSION *ext = NULL; X509_EXTENSION *ext = NULL;
GENERAL_NAMES *names = NULL; GENERAL_NAMES *names = NULL;
GENERAL_NAME *name; GENERAL_NAME *name;
X509V3_EXT_METHOD *method; const X509V3_EXT_METHOD *method;
BIO *biobuf = NULL; BIO *biobuf = NULL;
char buf[2048]; char buf[2048];
char *vptr; char *vptr;
...@@ -923,7 +923,7 @@ return the certificate even if it wasn't validated."); ...@@ -923,7 +923,7 @@ return the certificate even if it wasn't validated.");
static PyObject *PySSL_cipher (PySSLSocket *self) { static PyObject *PySSL_cipher (PySSLSocket *self) {
PyObject *retval, *v; PyObject *retval, *v;
SSL_CIPHER *current; const SSL_CIPHER *current;
char *cipher_name; char *cipher_name;
char *cipher_protocol; char *cipher_protocol;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment