openvpn: remove libressl patches

This commit is contained in:
Enno Boland 2018-04-17 09:45:43 +02:00
parent 0a90a92af2
commit 4f4bf04370
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 1 additions and 21 deletions

View File

@ -1,20 +0,0 @@
--- src/openvpn/openssl_compat.h.ori 2018-03-14 08:26:21.457718254 +0100
+++ src/openvpn/openssl_compat.h 2018-03-14 08:27:09.869715997 +0100
@@ -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)

View File

@ -1,7 +1,7 @@
# Template file for 'openvpn'
pkgname=openvpn
version=2.4.6
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
hostmakedepends="iproute2 pkg-config"