mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
openconnect: backport fix for anyconnect compatibility
Fixes: #21135 Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=openconnect
|
PKG_NAME:=openconnect
|
||||||
PKG_VERSION:=9.12
|
PKG_VERSION:=9.12
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://www.infradead.org/openconnect/download
|
PKG_SOURCE_URL:=https://www.infradead.org/openconnect/download
|
||||||
|
|||||||
11
net/openconnect/patches/020-anyconnect.patch
Normal file
11
net/openconnect/patches/020-anyconnect.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/main.c
|
||||||
|
+++ b/main.c
|
||||||
|
@@ -1774,7 +1774,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
|
openconnect_init_ssl();
|
||||||
|
|
||||||
|
- vpninfo = openconnect_vpninfo_new("Open AnyConnect VPN Agent",
|
||||||
|
+ vpninfo = openconnect_vpninfo_new("AnyConnect-compatible OpenConnect VPN Agent",
|
||||||
|
validate_peer_cert, NULL, process_auth_form_cb, write_progress, NULL);
|
||||||
|
if (!vpninfo) {
|
||||||
|
fprintf(stderr, _("Failed to allocate vpninfo structure\n"));
|
||||||
Reference in New Issue
Block a user