summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-05-12 13:25:38 +0200
committerThomas Haller <thaller@redhat.com>2023-05-12 13:25:58 +0200
commitc0c8eb347d8021a49080be1ab88823b593032c65 (patch)
treed1b3fcc45be651c5f0ecf438823274856d7b8f84
parenta8ba0ea4c7f236d6394fa5b7cb97a897b587eeb4 (diff)
libnmc: fix openconnect option "--cafile" in nm_vpn_openconnect_authenticate_helper()th/client-secrets-cleanup
Fixes: 97f2a368f154 ('libnmc-base: add supported options for OpenConnect CLI authentication')
-rw-r--r--src/libnmc-base/nm-vpn-helpers.c2
1 files changed, 1 insertions, 1 deletions
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"},