mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 01:27:31 +04:00
openvpn: update to 2.6.20
Keep 24.10 on the 2.6.x branch For changes, see: https://github.com/OpenVPN/openvpn/blob/v2.6.20/Changes.rst Signed-off-by: Sander van Deijck <sander@vandeijck.com>
This commit is contained in:
1 parent
de444814a7
commit
1ca3f04d31
2 files changed
+12
-8
No files matched your search
@@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=openvpn
|
||||
|
||||
PKG_VERSION:=2.6.19
|
||||
PKG_VERSION:=2.6.20
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=\
|
||||
https://build.openvpn.net/downloads/releases/ \
|
||||
https://swupdate.openvpn.net/community/releases/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_HASH:=13702526f687c18b2540c1a3f2e189187baaa65211edcf7ff6772fa69f0536cf
|
||||
PKG_HASH:=952ecee5b911a5353c0a6d40af62a7076c6dea1481ef204ce6d3f10481531315
|
||||
|
||||
PKG_MAINTAINER:=
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
--- a/src/openvpn/ssl_mbedtls.c
|
||||
+++ b/src/openvpn/ssl_mbedtls.c
|
||||
@@ -1611,7 +1611,7 @@ const char *
|
||||
@@ -1610,11 +1610,7 @@ get_highest_preference_tls_cipher(char *
|
||||
const char *
|
||||
get_ssl_library_version(void)
|
||||
{
|
||||
static char mbedtls_version[30];
|
||||
- static char mbedtls_version[30];
|
||||
- unsigned int pv = mbedtls_version_get_number();
|
||||
+ unsigned int pv = MBEDTLS_VERSION_NUMBER;
|
||||
snprintf(mbedtls_version, sizeof(mbedtls_version), "mbed TLS %d.%d.%d",
|
||||
(pv>>24)&0xff, (pv>>16)&0xff, (pv>>8)&0xff );
|
||||
return mbedtls_version;
|
||||
- snprintf(mbedtls_version, sizeof(mbedtls_version), "mbed TLS %d.%d.%d",
|
||||
- (pv>>24)&0xff, (pv>>16)&0xff, (pv>>8)&0xff );
|
||||
- return mbedtls_version;
|
||||
+ return "mbed TLS " MBEDTLS_VERSION_STRING;
|
||||
}
|
||||
|
||||
void
|
||||
Reference in new issue
Block a user