mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 02:20:12 +01:00
2007-11-12 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-settings-verify.c - Allow fragment_size option * src/supplicant-manager/nm-supplicant-settings-verify.c - (nm_supplicant_config_add_setting_wireless_security): use a lower EAP fragment size than the default to help some TLS connections git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3081 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
40360167c6
commit
bc17ea6d0a
3 changed files with 16 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
|||
2007-11-12 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-settings-verify.c
|
||||
- Allow fragment_size option
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-settings-verify.c
|
||||
- (nm_supplicant_config_add_setting_wireless_security): use a lower
|
||||
EAP fragment size than the default to help some TLS connections
|
||||
|
||||
2007-11-12 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Make certs actually work. The private key is now a secret, and should be
|
||||
|
|
|
|||
|
|
@ -505,6 +505,12 @@ nm_supplicant_config_add_setting_wireless_security (NMSupplicantConfig * self,
|
|||
}
|
||||
}
|
||||
|
||||
if ( (strcmp (setting->key_mgmt, "ieee8021x") == 0)
|
||||
|| (strcmp (setting->key_mgmt, "wpa-eap") == 0)) {
|
||||
if (!nm_supplicant_config_add_option (self, "fragment_size", "1300", -1, FALSE))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ static const struct Opt opt_table[] = {
|
|||
{ "engine", TYPE_INT, 0, 1, FALSE, NULL },
|
||||
{ "engine_id", TYPE_BYTES, 0, 0, FALSE, NULL },
|
||||
{ "key_id", TYPE_BYTES, 0, 0, FALSE, NULL },
|
||||
{ "fragment_size", TYPE_INT, 1, 2000, FALSE, NULL },
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue