aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/preauth.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-16 11:20:51 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-16 11:20:51 (GMT)
commit666497c8e65c3e6981d0c142a442dd7202c5d0b4 (patch)
treee586ec63a69a8ca690f4e82bcad4812fdfd68c4a /src/rsn_supp/preauth.c
parenteec0cc8da2286133bb2c53fd695bd26aa2689eed (diff)
downloadhostap-666497c8e65c3e6981d0c142a442dd7202c5d0b4.zip
hostap-666497c8e65c3e6981d0c142a442dd7202c5d0b4.tar.gz
hostap-666497c8e65c3e6981d0c142a442dd7202c5d0b4.tar.bz2
Suite B: Add AKM 00-0F-AC:11
This adds definitions for the 128-bit level Suite B AKM 00-0F-AC:11. The functionality itself is not yet complete, i.e., this commit only includes parts to negotiate the new AKM. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/rsn_supp/preauth.c')
-rw-r--r--src/rsn_supp/preauth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rsn_supp/preauth.c b/src/rsn_supp/preauth.c
index 0e4f012..e392125 100644
--- a/src/rsn_supp/preauth.c
+++ b/src/rsn_supp/preauth.c
@@ -298,7 +298,8 @@ void rsn_preauth_candidate_process(struct wpa_sm *sm)
sm->proto != WPA_PROTO_RSN ||
wpa_sm_get_state(sm) != WPA_COMPLETED ||
(sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X &&
- sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SHA256)) {
+ sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SHA256 &&
+ sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SUITE_B)) {
wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: not in suitable "
"state for new pre-authentication");
return; /* invalid state for new pre-auth */