From c0c8eb347d8021a49080be1ab88823b593032c65 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 12 May 2023 13:25:38 +0200 Subject: [PATCH] libnmc: fix openconnect option "--cafile" in nm_vpn_openconnect_authenticate_helper() Fixes: 97f2a368f154 ('libnmc-base: add supported options for OpenConnect CLI authentication') --- src/libnmc-base/nm-vpn-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnmc-base/nm-vpn-helpers.c b/src/libnmc-base/nm-vpn-helpers.c index 51e15cda4b..cbe76f5f1c 100644 --- a/src/libnmc-base/nm-vpn-helpers.c +++ b/src/libnmc-base/nm-vpn-helpers.c @@ -218,7 +218,7 @@ static const struct { const char *cmdline; } oc_property_args[] = { {NM_OPENCONNECT_KEY_USERCERT, "--certificate"}, - {NM_OPENCONNECT_KEY_CACERT, "--caflle"}, + {NM_OPENCONNECT_KEY_CACERT, "--cafile"}, {NM_OPENCONNECT_KEY_PRIVKEY, "--sslkey"}, {NM_OPENCONNECT_KEY_KEY_PASS, "--key-password"}, {NM_OPENCONNECT_KEY_PROTOCOL, "--protocol"},