mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 15:10:09 +01:00
cli: fix setting private key password
Fixes:fe390556ab('cli: add property type for 802-1x certificate properties (pt3)') (cherry picked from commitee96387578)
This commit is contained in:
parent
e738479bdd
commit
d8badb280c
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue