mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 04:40:20 +01:00
2007-10-23 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL before trying to do something with it git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3005 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
9b1909189d
commit
a83107ff1d
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2007-10-23 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting.c
|
||||
- (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
|
||||
before trying to do something with it
|
||||
|
||||
2007-10-23 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-device-802-11-wireless.c
|
||||
|
|
|
|||
|
|
@ -1268,6 +1268,7 @@ setting_wireless_security_need_secrets (NMSetting *setting)
|
|||
|
||||
/* LEAP */
|
||||
if ( (strcmp (self->key_mgmt, "ieee8021x") == 0)
|
||||
&& self->auth_alg
|
||||
&& (strcmp (self->auth_alg, "leap") == 0)
|
||||
&& (string_list_contains (self->eap, "leap"))) {
|
||||
if (!self->password || !strlen (self->password)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue