diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-27 18:53:28 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-27 18:53:28 +0000 |
commit | 9151214adfe1eac43f0be5355336a557ca8bfe2d (patch) | |
tree | 2ec8d0d772f3a762b97f5868c7d6e9c89faa5dc8 /sys/dev/ic | |
parent | 2199984c8e2e71826d896cf9263b61c04968e4ed (diff) |
Checking the MIC early in ieee80211_recv_eapol() does not work for
message 2/4 of the 4-way handshake because the authenticator must
derive the PTK first (the MIC is computed using the KCK).
Move calls to ieee80211_eapol_key_check_mic() - and as a consequence
ieee80211_eapol_key_decrypt() - directly in the
ieee80211_recv_{group,4way}_msg*() functions.
Unconstify the first parameter since checking the MIC modifies the
frame. Remove ni->ni_ptk_ok field while i'm here.
Diffstat (limited to 'sys/dev/ic')
0 files changed, 0 insertions, 0 deletions