mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
openvpn: update to 2.3.11
This commit is contained in:
parent
c23c64913b
commit
09846e034b
@ -18,7 +18,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="openvpn"
|
PKG_NAME="openvpn"
|
||||||
PKG_VERSION="2.3.10"
|
PKG_VERSION="2.3.11"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
From 03642f257c958d1dfcfb75188d1a74cee4d02503 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Niels Ole Salscheider <niels_ole@salscheider-online.de>
|
|
||||||
Date: Sun, 10 Jan 2016 11:53:29 +0100
|
|
||||||
Subject: [PATCH] Fix build with libressl
|
|
||||||
|
|
||||||
---
|
|
||||||
src/openvpn/ssl_openssl.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c
|
|
||||||
index d2f40e7..e390f4d 100644
|
|
||||||
--- a/src/openvpn/ssl_openssl.c
|
|
||||||
+++ b/src/openvpn/ssl_openssl.c
|
|
||||||
@@ -358,7 +358,7 @@ tls_ctx_check_cert_time (const struct tls_root_ctx *ctx)
|
|
||||||
|
|
||||||
ASSERT (ctx);
|
|
||||||
|
|
||||||
-#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
/* OpenSSL 1.0.2 and up */
|
|
||||||
cert = SSL_CTX_get0_certificate (ctx->ctx);
|
|
||||||
#else
|
|
||||||
@@ -393,7 +393,7 @@ tls_ctx_check_cert_time (const struct tls_root_ctx *ctx)
|
|
||||||
}
|
|
||||||
|
|
||||||
cleanup:
|
|
||||||
-#if OPENSSL_VERSION_NUMBER < 0x10002000L
|
|
||||||
+#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
SSL_free (ssl);
|
|
||||||
#endif
|
|
||||||
return;
|
|
Loading…
x
Reference in New Issue
Block a user