diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-04-23 14:17:47 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-05-06 10:10:00 +0200 |
commit | ee96387578ca5428b9836dda382f9e6d64d5a7a8 (patch) | |
tree | 6c9731209927f08266e448ee35859e9ed9caecfb | |
parent | 48ce3628c528553d4105ed443934d733998e81b4 (diff) | |
download | NetworkManager-ee96387578ca5428b9836dda382f9e6d64d5a7a8.tar.gz |
cli: fix setting private key password
Fixes: fe390556abfe ('cli: add property type for 802-1x certificate properties (pt3)')
-rw-r--r-- | clients/common/nm-meta-setting-desc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c index 98cb50405c..b24eb17c2d 100644 --- a/clients/common/nm-meta-setting-desc.c +++ b/clients/common/nm-meta-setting-desc.c @@ -2263,6 +2263,7 @@ _set_fcn_cert_8021x (ARGS_SET_FCN) password = path + strcspn (path, " \t"); if (password[0] != '\0') { password[0] = '\0'; + password++; while (nm_utils_is_separator (password[0])) password++; } else { |