aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/preauth.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2016-02-15 02:23:37 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-18 19:07:47 (GMT)
commit70c93963edefa37ef84b73efb9d04ea10268341c (patch)
tree822bc47bd87bfae9eb715c764c71625d9b9aa30b /src/rsn_supp/preauth.c
parent1492fbb90cc093fd67dc4f9a72e5bcadc9a7a331 (diff)
downloadhostap-70c93963edefa37ef84b73efb9d04ea10268341c.zip
hostap-70c93963edefa37ef84b73efb9d04ea10268341c.tar.gz
hostap-70c93963edefa37ef84b73efb9d04ea10268341c.tar.bz2
SAE: Fix PMKID calculation for PMKSA cache
The SAE PMKID is calculated with IEEE Std 802.11-2012 11.3.5.4, but the PMKID was re-calculated with 11.6.1.3 and saved into PMKSA cache. Fix this to save the PMKID calculated with 11.3.5.4 into the PMKSA cache. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'src/rsn_supp/preauth.c')
-rw-r--r--src/rsn_supp/preauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsn_supp/preauth.c b/src/rsn_supp/preauth.c
index 55a4a74..4c9a4fb 100644
--- a/src/rsn_supp/preauth.c
+++ b/src/rsn_supp/preauth.c
@@ -93,7 +93,7 @@ static void rsn_preauth_eapol_cb(struct eapol_sm *eapol,
wpa_hexdump_key(MSG_DEBUG, "RSN: PMK from pre-auth",
pmk, pmk_len);
sm->pmk_len = pmk_len;
- pmksa_cache_add(sm->pmksa, pmk, pmk_len,
+ pmksa_cache_add(sm->pmksa, pmk, pmk_len, NULL,
NULL, 0,
sm->preauth_bssid, sm->own_addr,
sm->network_ctx,