blob: 5b5c054ac98cce6c66722b28ddc8d0cc6c09246b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
http://bugs.gentoo.org/327937
--- basictcp.h
+++ basictcp.h
@@ -89,7 +89,11 @@
#ifdef USE_SSL
#ifdef USE_OPENSSL
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *m_sslMeth;
+ #else
SSL_METHOD *m_sslMeth;
+ #endif
SSL_CTX* m_sslCtx;
SSL *m_ssl;
#else
--- tcp.h
+++ tcp.h
@@ -100,7 +100,11 @@
#ifdef USE_SSL
#ifdef USE_OPENSSL
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *m_sslMeth;
+ #else
SSL_METHOD *m_sslMeth;
+ #endif
SSL_CTX* m_sslCtx;
SSL *m_ssl;
#else
|