From: Jouni Malinen Date: Thu, 3 Sep 2015 17:45:02 +0000 (+0300) Subject: FILS: Update EAPOL-Key Descriptor Version RX rules (AP) X-Git-Tag: hostap_2_7~2234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2449791b8e811a046e106842840046109afc79c6;p=thirdparty%2Fhostap.git FILS: Update EAPOL-Key Descriptor Version RX rules (AP) Signed-off-by: Jouni Malinen --- diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index d702e231e..4fed5ba05 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -1008,6 +1008,7 @@ void wpa_receive(struct wpa_authenticator *wpa_auth, } if (!wpa_use_aes_cmac(sm) && + !wpa_key_mgmt_fils(sm->wpa_key_mgmt) && ver != WPA_KEY_INFO_TYPE_HMAC_SHA1_AES) { wpa_auth_logger(wpa_auth, sm->addr, LOGGER_WARNING, @@ -1017,7 +1018,8 @@ void wpa_receive(struct wpa_authenticator *wpa_auth, } } - if (wpa_key_mgmt_suite_b(sm->wpa_key_mgmt) && + if ((wpa_key_mgmt_suite_b(sm->wpa_key_mgmt) || + wpa_key_mgmt_fils(sm->wpa_key_mgmt)) && ver != WPA_KEY_INFO_TYPE_AKM_DEFINED) { wpa_auth_logger(wpa_auth, sm->addr, LOGGER_WARNING, "did not use EAPOL-Key descriptor version 0 as required for AKM-defined cases");