cli: fix setting private key password

Fixes: fe390556ab ('cli: add property type for 802-1x certificate properties (pt3)')
This commit is contained in:
Beniamino Galvani 2019-04-23 14:17:47 +02:00
parent 48ce3628c5
commit ee96387578

View file

@ -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 {