mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
FILS: Do not add Key MIC field in supplicant when using AEAD cipher
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
dc5bad48af
commit
f5ff8ae6a7
@ -64,7 +64,7 @@ int wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len,
|
||||
MAC2STR(dest));
|
||||
}
|
||||
}
|
||||
if (key_mic &&
|
||||
if (key_mic && mic_len &&
|
||||
wpa_eapol_key_mic(kck, kck_len, sm->key_mgmt, ver, msg, msg_len,
|
||||
key_mic)) {
|
||||
wpa_msg(sm->ctx->msg_ctx, MSG_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user