diff options
Diffstat (limited to 'net-analyzer/postal/files/05_postal-0.70-openssl-1.patch')
-rw-r--r-- | net-analyzer/postal/files/05_postal-0.70-openssl-1.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-analyzer/postal/files/05_postal-0.70-openssl-1.patch b/net-analyzer/postal/files/05_postal-0.70-openssl-1.patch new file mode 100644 index 000000000000..5b5c054ac98c --- /dev/null +++ b/net-analyzer/postal/files/05_postal-0.70-openssl-1.patch @@ -0,0 +1,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 |