2006-01-16 Dan Williams <dcbw@redhat.com>

* libnm-util/cipher-wpa-psk-passphrase.c
		- (cipher_wpa_psk_passphrase_new): correct passphrase length, should
			be 8 - 63 characters inclusive


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1334 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-01-16 17:16:10 +00:00
parent d45ebb8376
commit c1adb93eb1
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-01-16 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-wpa-psk-passphrase.c
- (cipher_wpa_psk_passphrase_new): correct passphrase length, should
be 8 - 63 characters inclusive
2006-01-16 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nm.c

View file

@ -38,8 +38,9 @@ IEEE_802_11_Cipher * cipher_wpa_psk_passphrase_new (void)
cipher->refcount = 1;
cipher->we_cipher = IW_AUTH_CIPHER_TKIP;
/* Passphrase between 8 and 63 characters inclusive */
cipher->input_min = 8;
cipher->input_max = WPA_PMK_LEN * 2;
cipher->input_max = (WPA_PMK_LEN * 2) - 1;
cipher->cipher_hash_func = cipher_wpa_psk_passphrase_hash_func;
cipher->cipher_input_validate_func = cipher_default_validate_func;