constify to appease compiler warnings
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 @@
     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 @@
 static PyObject *PySSL_cipher (PySSLSocket *self) {
 
     PyObject *retval, *v;
-    SSL_CIPHER *current;
+    const SSL_CIPHER *current;
     char *cipher_name;
     char *cipher_protocol;