Fix validation of RSN EAPOL-Key version for GCMP with PMF
authorAshok Kumar Ponnaiah <aponnaia@qti.qualcomm.com>
Mon, 2 Jun 2014 14:03:33 +0000 (17:03 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 2 Jun 2014 14:03:33 +0000 (17:03 +0300)
commit801e117376e13d5b3c50f1627b93a949529fdf99
tree05649748df8e32b205b7bce3b7595bc6ce5bc0b6
parenta7fb2f2f4fc254316207616dd36e3596693f2490
Fix validation of RSN EAPOL-Key version for GCMP with PMF

If PMF was enabled, the validation step for EAPOL-Key descriptor version
ended up rejecting the message if GCMP had been negotiated as the
pairwise cipher. Fix this by making the GCMP check skipped similarly to
the CCMP case if a SHA256-based AKM is used.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/wpa.c