From: Jouni Malinen Date: Wed, 2 Sep 2015 21:21:18 +0000 (+0300) Subject: FILS: Do not add Key MIC field in supplicant when using AEAD cipher X-Git-Tag: hostap_2_7~2246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ff8ae6a726fc65e65054706c8a7ddd2cb0f942;p=thirdparty%2Fhostap.git FILS: Do not add Key MIC field in supplicant when using AEAD cipher Signed-off-by: Jouni Malinen --- diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 2c964fd1a..498108f9d 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -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,