summaryrefslogtreecommitdiff
path: root/net/easysoap/files
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-29 17:19:04 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-29 17:19:04 +0000
commitcfa54aad37c85deb616ef2897de9ad47bb7fd263 (patch)
tree91e6afd486ce4a8c3809a322d295c60eb4db2c1c /net/easysoap/files
parentscience/paraview: Fix build with -fno-common (diff)
- Fix the build against contemporary OpenSSL versions
- Improve COMMENT wording, convert to USES+=localbase
Notes
Notes: svn path=/head/; revision=546928
Diffstat (limited to 'net/easysoap/files')
-rw-r--r--net/easysoap/files/patch-src__SOAPSSLContext.cpp2
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());