diff options
Diffstat (limited to 'net/easysoap/files')
-rw-r--r-- | net/easysoap/files/patch-src__SOAPSSLContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/easysoap/files/patch-src__SOAPSSLContext.cpp b/net/easysoap/files/patch-src__SOAPSSLContext.cpp index 772acddc5b2e..4398e420d786 100644 --- a/net/easysoap/files/patch-src__SOAPSSLContext.cpp +++ b/net/easysoap/files/patch-src__SOAPSSLContext.cpp @@ -4,7 +4,7 @@ switch(methodType) { -+#ifndef OPENSSL_NO_SSL2 ++#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(OPENSSL_NO_SSL2) case SOAPSSLContext::SSL_v2: - method = SSLv2_client_method(); + method = const_cast<SSL_METHOD*>(SSLv2_client_method()); |