mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-18 09:40:39 +02:00
2006-03-10 Robert Love <rml@novell.com>
* src/nm-ap-security-wpa-eap.c: Don't log the password. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1582 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
3c4a746c6a
commit
773048ab8a
2 changed files with 14 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2006-03-10 Robert Love <rml@novell.com>
|
||||
|
||||
* src/nm-ap-security-wpa-eap.c: Don't log the password.
|
||||
|
||||
2006-03-09 Robert Love <rml@novell.com>
|
||||
|
||||
* src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
|
||||
|
|
|
|||
|
|
@ -217,8 +217,17 @@ real_write_supplicant_config (NMAPSecurity *instance,
|
|||
goto out;
|
||||
|
||||
if (passwd && strlen (passwd) > 0)
|
||||
if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i password \"%s\"", nwid, passwd))
|
||||
{
|
||||
char *msg;
|
||||
|
||||
msg = g_strdup_printf ("SET_NETWORK %i password <password>", nwid);
|
||||
if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, msg, "SET_NETWORK %i password \"%s\"", nwid, passwd))
|
||||
{
|
||||
g_free (msg);
|
||||
goto out;
|
||||
}
|
||||
g_free (msg);
|
||||
}
|
||||
|
||||
if (anon_identity && strlen (anon_identity) > 0)
|
||||
if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, "SET_NETWORK %i anonymous_identity \"%s\"", nwid, anon_identity))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue