[packages] imspector: fix OpenSSL v1.0.0 fallout
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25981 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0c0f172b36
commit
14879e9ad2
14
net/imspector/patches/010-openssl-1.0.0-compat.patch
Normal file
14
net/imspector/patches/010-openssl-1.0.0-compat.patch
Normal file
@ -0,0 +1,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user