svn commit: r464440 - head/security/openvpn/files

Matthias Andree mandree at FreeBSD.org
Tue Mar 13 22:50:34 UTC 2018


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)


More information about the svn-ports-head mailing list