Commit 0b32e185 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Lubomir Rintel

cli: fix setting private key password

Fixes: fe390556 ('cli: add property type for 802-1x certificate properties (pt3)')
(cherry picked from commit ee963875)
(cherry picked from commit d8badb28)
parent a13928c1
......@@ -2276,6 +2276,7 @@ _set_fcn_cert_8021x (ARGS_SET_FCN)
password = path + strcspn (path, " \t");
if (password[0] != '\0') {
password[0] = '\0';
while (nm_utils_is_separator (password[0]))
} 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