Declare the SSL_METHOD const on 1.0 only - enjoy the 28 bit shift
diff --git a/OpenSSL/ssl/context.c b/OpenSSL/ssl/context.c
index 16268d8..f13b447 100644
--- a/OpenSSL/ssl/context.c
+++ b/OpenSSL/ssl/context.c
@@ -1118,7 +1118,10 @@
  */
 static ssl_ContextObj*
 ssl_Context_init(ssl_ContextObj *self, int i_method) {
-    const SSL_METHOD *method;
+#if (OPENSSL_VERSION_NUMBER >> 28) == 0x01
+    const
+#endif
+    SSL_METHOD *method;
 
     switch (i_method) {
         case ssl_SSLv2_METHOD: