aboutsummaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2016-01-19 12:33:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2016-01-19 12:33:06 +0000
commit106522c09899229107e93602c12aded5c402f8ef (patch)
tree047bf2e4ccf7a52d8c069f2a4fffe3d2e3c191f8 /net/socat
parentea11100e812fa3de1dd55f7c54712051d986bf61 (diff)
downloadports-106522c09899229107e93602c12aded5c402f8ef.tar.gz
ports-106522c09899229107e93602c12aded5c402f8ef.zip
Fix build with ports version of OpenSSL. This broke when SSLv3 support was
removed. Submitted by: Hervé Commowick <herve.commowick@adobe.com>
Notes
Notes: svn path=/head/; revision=406683
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/files/patch-sslcls.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/socat/files/patch-sslcls.c b/net/socat/files/patch-sslcls.c
new file mode 100644
index 000000000000..5896c591b91f
--- /dev/null
+++ b/net/socat/files/patch-sslcls.c
@@ -0,0 +1,29 @@
+--- sslcls.c.orig 2015-01-24 11:15:22.000000000 +0100
++++ sslcls.c
+@@ -55,6 +55,7 @@
+ }
+ #endif
+
++#if HAVE_SSLv3_client_method
+ const SSL_METHOD *sycSSLv3_client_method(void) {
+ const SSL_METHOD *result;
+ Debug("SSLv3_client_method()");
+@@ -62,7 +63,9 @@
+ Debug1("SSLv3_client_method() -> %p", result);
+ return result;
+ }
++#endif
+
++#if HAVE_SSLv3_server_method
+ const SSL_METHOD *sycSSLv3_server_method(void) {
+ const SSL_METHOD *result;
+ Debug("SSLv3_server_method()");
+@@ -70,6 +73,7 @@
+ Debug1("SSLv3_server_method() -> %p", result);
+ return result;
+ }
++#endif
+
+ const SSL_METHOD *sycSSLv23_client_method(void) {
+ const SSL_METHOD *result;
+