mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 14:50:39 +02:00
supplicant/ifnet: fix spelling of "private_key2_passwd" option
This wpa_supplicant option is not named "private_key_passwd2". Looks
like this regressed in e5ed391f28.
Signed-off-by: Geoffrey Thomas <gthomas@mokafive.com>
This commit is contained in:
parent
86ffea8004
commit
cf10c8de8e
2 changed files with 3 additions and 3 deletions
|
|
@ -207,7 +207,7 @@ eap_tls_reader (const char *eap_method,
|
|||
|
||||
/* Private key password */
|
||||
privkey_password = wpa_get_value (ssid,
|
||||
phase2 ? "private_key_passwd2" :
|
||||
phase2 ? "private_key2_passwd" :
|
||||
"private_key_passwd");
|
||||
|
||||
if (!privkey_password) {
|
||||
|
|
@ -1932,7 +1932,7 @@ write_8021x_certs (NMSetting8021x *s_8021x,
|
|||
goto out;
|
||||
|
||||
if (phase2)
|
||||
wpa_set_data (conn_name, "private_key_passwd2", password);
|
||||
wpa_set_data (conn_name, "private_key2_passwd", password);
|
||||
else
|
||||
wpa_set_data (conn_name, "private_key_passwd", password);
|
||||
|
||||
|
|
|
|||
|
|
@ -1020,7 +1020,7 @@ nm_supplicant_config_add_setting_8021x (NMSupplicantConfig *self,
|
|||
* isn't decrypted at all.
|
||||
*/
|
||||
value = nm_setting_802_1x_get_phase2_private_key_password (setting);
|
||||
if (!add_string_val (self, value, "private_key_passwd2", FALSE, TRUE))
|
||||
if (!add_string_val (self, value, "private_key2_passwd", FALSE, TRUE))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue