summaryrefslogtreecommitdiffstats
path: root/net/imspector/patches/010-openssl-1.0.0-compat.patch
blob: d8002a135ae55b857e8a65f713c2c5d5e8722729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/sslstate.h
+++ b/sslstate.h
@@ -29,7 +29,11 @@ class SSLState
 		int sslverify;
 		
 		bool localdebugmode;
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+		const SSL_METHOD *method;
+#else
 		SSL_METHOD *method;
+#endif
 		SSL_CTX *connectctx;
 		SSL_CTX *ctx;