From efe8dddc6d95e31a1a8dbb7b5c7d8a8952995622 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 9 Mar 2011 18:56:37 +0000 Subject: [PATCH] [packages] imspector: fix OpenSSL v1.0.0 fallout SVN-Revision: 25981 --- .../patches/010-openssl-1.0.0-compat.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net/imspector/patches/010-openssl-1.0.0-compat.patch 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; + -- 2.30.2