2006-06-15 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless we have a value to set. Gconf generates a warning if `val' is NULL. * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP unless we actually received a valid private key file passphrase or password. Otherwise, we don't know to later ask the applet to pull the key from the keyring. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1845 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -75,7 +75,8 @@ nm_ap_security_wpa_eap_new_deserialize (DBusMessageIter *iter)
|
||||
/* Success, build up our security object */
|
||||
security = g_object_new (NM_TYPE_AP_SECURITY_WPA_EAP, NULL);
|
||||
nm_ap_security_set_we_cipher (NM_AP_SECURITY (security), NM_AUTH_TYPE_WPA_EAP);
|
||||
nm_ap_security_set_key (NM_AP_SECURITY (security), "FIXME", 5); /* FIXME: what do we do for Enterprise? */
|
||||
if ((private_key_passwd && strlen (private_key_passwd) > 0) || (passwd && strlen (passwd) > 0))
|
||||
nm_ap_security_set_key (NM_AP_SECURITY (security), "FIXME", 5);
|
||||
security->priv->eap_method = eap_method;
|
||||
security->priv->key_type = key_type;
|
||||
security->priv->wpa_version = wpa_version;
|
||||
|
Reference in New Issue
Block a user