diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-04-26 02:36:52 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-04-26 02:36:52 +0000 |
commit | a7adc8b7171f1e74395feb883890592a403f71a3 (patch) | |
tree | aa00b5d80ef2f432f3658dec9a61e4e9dc82b6a3 /net/easysoap/files/patch-src__SOAPSSLContext.cpp | |
parent | - Update to version 1.13.5 (diff) |
- Fix build on -current
- Add LICENSE
- Stage support
PR: 187762
Submitted by: ports fury
Diffstat (limited to 'net/easysoap/files/patch-src__SOAPSSLContext.cpp')
-rw-r--r-- | net/easysoap/files/patch-src__SOAPSSLContext.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/easysoap/files/patch-src__SOAPSSLContext.cpp b/net/easysoap/files/patch-src__SOAPSSLContext.cpp new file mode 100644 index 000000000000..3267d2830360 --- /dev/null +++ b/net/easysoap/files/patch-src__SOAPSSLContext.cpp @@ -0,0 +1,23 @@ +--- src/SOAPSSLContext.cpp.orig ++++ src/SOAPSSLContext.cpp +@@ -143,16 +143,16 @@ + switch(methodType) + { + case SOAPSSLContext::SSL_v2: +- method = SSLv2_client_method(); ++ method = const_cast<SSL_METHOD*>(SSLv2_client_method()); + break; + case SOAPSSLContext::SSL_v23: +- method = SSLv23_client_method(); ++ method = const_cast<SSL_METHOD*>(SSLv23_client_method()); + break; + case SOAPSSLContext::SSL_v3: +- method = SSLv3_client_method(); ++ method = const_cast<SSL_METHOD*>(SSLv3_client_method()); + break; + case SOAPSSLContext::TLS_v1: +- method = TLSv1_client_method(); ++ method = const_cast<SSL_METHOD*>(TLSv1_client_method()); + break; + default: + break; |