mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 18:00:38 +01:00
2007-09-24 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13 git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2868 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
490117633c
commit
192e129734
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-09-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting.c
|
||||
- (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
|
||||
|
||||
2007-09-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/NetworkManagerPolicy.c
|
||||
|
|
|
|||
|
|
@ -918,7 +918,7 @@ verify_wep_key (const char *key)
|
|||
return FALSE;
|
||||
|
||||
keylen = strlen (key);
|
||||
if (keylen != 13 && keylen != 26)
|
||||
if (keylen != 10 && keylen != 26)
|
||||
return FALSE;
|
||||
|
||||
for (i = 0; i < keylen; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue