imspector: fix OpenSSL v1.0.0 fallout
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Mar 2011 18:56:37 +0000 (18:56 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Mar 2011 18:56:37 +0000 (18:56 +0000)
SVN-Revision: 25981

net/imspector/patches/010-openssl-1.0.0-compat.patch [new file with mode: 0644]

diff --git a/net/imspector/patches/010-openssl-1.0.0-compat.patch b/net/imspector/patches/010-openssl-1.0.0-compat.patch
new file mode 100644 (file)
index 0000000..d8002a1
--- /dev/null
@@ -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;