Branch oldpackages for 14.07
[14.07/packages.git] / net / imspector / patches / 010-openssl-1.0.0-compat.patch
1 --- a/sslstate.h
2 +++ b/sslstate.h
3 @@ -29,7 +29,11 @@ class SSLState
4                 int sslverify;
5                 
6                 bool localdebugmode;
7 +#if OPENSSL_VERSION_NUMBER >= 0x10000000L
8 +               const SSL_METHOD *method;
9 +#else
10                 SSL_METHOD *method;
11 +#endif
12                 SSL_CTX *connectctx;
13                 SSL_CTX *ctx;
14