aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-12-06 22:39:46 (GMT)
committerJouni Malinen <j@w1.fi>2019-12-06 22:39:46 (GMT)
commita889e9a70c7d0ec563dc24df02319194e971979e (patch)
tree11ef99174630b98a0a1434af198f2cfa81b32050
parentc88e01e1b69eeeb6d609f61a4352ef16cf41b3dd (diff)
downloadhostap-a889e9a70c7d0ec563dc24df02319194e971979e.zip
hostap-a889e9a70c7d0ec563dc24df02319194e971979e.tar.gz
hostap-a889e9a70c7d0ec563dc24df02319194e971979e.tar.bz2
SAE: Reject invalid rejected group report in SAE commit explicitly (AP)
Previously, this case was ignored silently in AP mode. While that could be a reasonable approach for an unexpected condition, it would be fine to reject this case explicitly as well. This makes it somewhat easier to test unexpected SAE H2E vs. looping behavior. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/ap/ieee802_11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index c10ae12..38199e0 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -1282,7 +1282,7 @@ static void handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta,
check_sae_rejected_groups(
hapd, sta->sae->tmp->peer_rejected_groups)) {
resp = WLAN_STATUS_UNSPECIFIED_FAILURE;
- goto remove_sta;
+ goto reply;
}
if (!token && use_sae_anti_clogging(hapd) && !allow_reuse) {