From: Jo-Philipp Wich Date: Wed, 9 Mar 2011 18:56:37 +0000 (+0000) Subject: [packages] imspector: fix OpenSSL v1.0.0 fallout X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=efe8dddc6d95e31a1a8dbb7b5c7d8a8952995622;p=openwrt%2Fsvn-archive%2Farchive.git [packages] imspector: fix OpenSSL v1.0.0 fallout SVN-Revision: 25981 --- 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 index 0000000000..d8002a135a --- /dev/null +++ b/net/imspector/patches/010-openssl-1.0.0-compat.patch @@ -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; +