Date: Thu, 12 Jan 2017 14:30:37 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431271 - in head/net/softethervpn: . files Message-ID: <201701121430.v0CEUboZ000102@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Thu Jan 12 14:30:37 2017 New Revision: 431271 URL: https://svnweb.freebsd.org/changeset/ports/431271 Log: net/softethervpn: Fix build with LibreSSL Approved by: SSL blanket Added: head/net/softethervpn/files/patch-src_Mayaqua_Network.c (contents, props changed) Modified: head/net/softethervpn/Makefile Modified: head/net/softethervpn/Makefile ============================================================================== --- head/net/softethervpn/Makefile Thu Jan 12 14:21:43 2017 (r431270) +++ head/net/softethervpn/Makefile Thu Jan 12 14:30:37 2017 (r431271) @@ -10,7 +10,8 @@ COMMENT= Cross-platform Multi-protocol V LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake iconv localbase readline ssl +USES= dos2unix gmake iconv localbase readline ssl +DOS2UNIX_FILES= src/Mayaqua/Network.c USE_GITHUB= yes GH_ACCOUNT= SoftEtherVPN GH_PROJECT= SoftEtherVPN Added: head/net/softethervpn/files/patch-src_Mayaqua_Network.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/softethervpn/files/patch-src_Mayaqua_Network.c Thu Jan 12 14:30:37 2017 (r431271) @@ -0,0 +1,14 @@ +--- src/Mayaqua/Network.c.orig 2017-01-12 14:15:02 UTC ++++ src/Mayaqua/Network.c +@@ -12983,7 +12983,11 @@ bool StartSSLEx(SOCK *sock, X *x, K *pri + { + if (client_tls == false) + { ++#ifndef OPENSSL_NO_SSL3_METHOD + SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method()); ++#else ++ SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); ++#endif + } + else + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701121430.v0CEUboZ000102>