~ubuntu-branches/ubuntu/quantal/wpasupplicant/quantal

« back to all changes in this revision

Viewing changes to src/eapol_supp/eapol_supp_sm.c

  • Committer: Bazaar Package Importer
  • Author(s): Kel Modderman
  • Date: 2010-02-27 11:30:53 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100227113053-axxieaw3hmuqbqls
Tags: 0.6.10-2
* Switch to source format 3.0 (quilt), drop quilt build dependency
  and remove '--with quilt' from dh command in debian/rules.
* Fix "FTBFS on kfreebsd-gnu" with addition of 21_kfreebsd.patch.
  Thanks to work by Stefan Lippers-Hollmann and Petr Salinger.
  (Closes: #480572)
* Disable experimental feature CONFIG_IEEE80211W (management frame
  protection) due to it not being supported by any driver but ath9k
  and it generating ioctl errors which cause much concern among users
  for little to no benefit.
* Add traling blank line to debian/NEWS to assist apt-listchanges as
  per lintian advice.
* Cherry pick 30_cfg80211_association_optimisation.patch from upstream
  git. Add cfg80211-specific optimization to avoid silly behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
742
742
                os_memcpy(ekey + IEEE8021X_KEY_IV_LEN, keydata.encr_key,
743
743
                          encr_key_len);
744
744
                os_memcpy(datakey, key + 1, key_len);
745
 
                rc4(datakey, key_len, ekey,
746
 
                    IEEE8021X_KEY_IV_LEN + encr_key_len);
 
745
                rc4_skip(ekey, IEEE8021X_KEY_IV_LEN + encr_key_len, 0,
 
746
                         datakey, key_len);
747
747
                wpa_hexdump_key(MSG_DEBUG, "EAPOL: Decrypted(RC4) key",
748
748
                                datakey, key_len);
749
749
        } else if (key_len == 0) {