libnmc: fix openconnect option "--cafile" in nm_vpn_openconnect_authenticate_helper()

Fixes: 97f2a368f1 ('libnmc-base: add supported options for OpenConnect CLI authentication')
This commit is contained in:
Thomas Haller 2023-05-12 13:25:38 +02:00
parent a8ba0ea4c7
commit c0c8eb347d
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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"},