svn commit: r406683 - head/net/socat/files

Emanuel Haupt ehaupt at FreeBSD.org
Tue Jan 19 12:33:08 UTC 2016


Author: ehaupt
Date: Tue Jan 19 12:33:06 2016
New Revision: 406683
URL: https://svnweb.freebsd.org/changeset/ports/406683

Log:
  Fix build with ports version of OpenSSL. This broke when SSLv3 support was
  removed.
  
  Submitted by:	Hervé Commowick <herve.commowick at adobe.com>

Added:
  head/net/socat/files/patch-sslcls.c   (contents, props changed)

Added: head/net/socat/files/patch-sslcls.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/socat/files/patch-sslcls.c	Tue Jan 19 12:33:06 2016	(r406683)
@@ -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;
+


More information about the svn-ports-head mailing list