Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 22:50:33 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464440 - head/security/openvpn/files
Message-ID:  <201803132250.w2DMoXXe000918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Tue Mar 13 22:50:33 2018
New Revision: 464440
URL: https://svnweb.freebsd.org/changeset/ports/464440

Log:
  Fix build with LibreSSL 2.4.6
  
  PR:		226568
  Reported by:	Ralf van der Enden
  Obtained from:	faminebadger <https://community.openvpn.net/openvpn/ticket/1038>;

Added:
  head/security/openvpn/files/patch-libressl   (contents, props changed)

Added: head/security/openvpn/files/patch-libressl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openvpn/files/patch-libressl	Tue Mar 13 22:50:33 2018	(r464440)
@@ -0,0 +1,20 @@
+--- ./src/openvpn/openssl_compat.h	2018-03-01 07:22:19.000000000 +0000
++++ ./src/openvpn/openssl_compat.h	2018-03-12 10:44:08.876010487 +0000
+@@ -711,7 +711,7 @@
+ }
+ #endif /* SSL_CTX_get_max_proto_version */
+ 
+-#ifndef SSL_CTX_set_min_proto_version
++#if !defined(SSL_CTX_set_min_proto_version) && !defined(LIBRESSL_VERSION_NUMBER)
+ /** Mimics SSL_CTX_set_min_proto_version for OpenSSL < 1.1 */
+ static inline int
+ SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long tls_ver_min)
+@@ -740,7 +740,7 @@
+ }
+ #endif /* SSL_CTX_set_min_proto_version */
+ 
+-#ifndef SSL_CTX_set_max_proto_version
++#if !defined(SSL_CTX_set_max_proto_version) && !defined(LIBRESSL_VERSION_NUMBER)
+ /** Mimics SSL_CTX_set_max_proto_version for OpenSSL < 1.1 */
+ static inline int
+ SSL_CTX_set_max_proto_version(SSL_CTX *ctx, long tls_ver_max)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803132250.w2DMoXXe000918>