aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-10-15 03:34:39 (GMT)
committerJouni Malinen <j@w1.fi>2008-10-15 03:34:39 (GMT)
commit2100a768bfe2d3186dd7ff2bd62fde61c944d674 (patch)
treecc14ff71a17b45db95caca9ba531b3e999ae728d /hostapd/wpa.h
parent8de4f2e9baeacb552d375733866dcab4186c98a6 (diff)
downloadhostap-06-2100a768bfe2d3186dd7ff2bd62fde61c944d674.zip
hostap-06-2100a768bfe2d3186dd7ff2bd62fde61c944d674.tar.gz
hostap-06-2100a768bfe2d3186dd7ff2bd62fde61c944d674.tar.bz2
Fixed WPA/RSN IE validation to verify the proto (WPA vs. WPA2) is enabled
Previous version could have allowed a broken client to complete WPA (or WPA2) authentication even if the selected proto was not enabled in hostapd configuration.
Diffstat (limited to 'hostapd/wpa.h')
-rw-r--r--hostapd/wpa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/wpa.h b/hostapd/wpa.h
index 74bea27..567a8bf 100644
--- a/hostapd/wpa.h
+++ b/hostapd/wpa.h
@@ -216,7 +216,7 @@ enum {
WPA_IE_OK, WPA_INVALID_IE, WPA_INVALID_GROUP, WPA_INVALID_PAIRWISE,
WPA_INVALID_AKMP, WPA_NOT_ENABLED, WPA_ALLOC_FAIL,
WPA_MGMT_FRAME_PROTECTION_VIOLATION, WPA_INVALID_MGMT_GROUP_CIPHER,
- WPA_INVALID_MDIE
+ WPA_INVALID_MDIE, WPA_INVALID_PROTO
};
int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth,