Commit d8badb28 authored by Beniamino Galvani's avatar Beniamino Galvani

cli: fix setting private key password

Fixes: fe390556 ('cli: add property type for 802-1x certificate properties (pt3)')
(cherry picked from commit ee963875)
parent e738479b
......@@ -2276,6 +2276,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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment