aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_supp
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-16 17:03:17 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-16 17:03:17 (GMT)
commit6e6909a97e0d94e0291db08daab1bc2f75ab3849 (patch)
treea9b6867d1d672c6cea593cb9757fe11bd3e37cd5 /src/eapol_supp
parent271dbf1594bea461ea2ea7946a773a30bfa254aa (diff)
downloadhostap-6e6909a97e0d94e0291db08daab1bc2f75ab3849.zip
hostap-6e6909a97e0d94e0291db08daab1bc2f75ab3849.tar.gz
hostap-6e6909a97e0d94e0291db08daab1bc2f75ab3849.tar.bz2
FIPS: Remove MD5 from the CONFIG_FIPS=y build
When CONFIG_FIPS=y is used, do not include MD5 in the build and disable EAPOL-Key frames that use MD5 (WPA/TKIP and dynamic WEP with IEEE 802.1X). Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eapol_supp')
-rw-r--r--src/eapol_supp/eapol_supp_sm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c
index 280d1b0..07ef83b 100644
--- a/src/eapol_supp/eapol_supp_sm.c
+++ b/src/eapol_supp/eapol_supp_sm.c
@@ -624,6 +624,7 @@ struct eap_key_data {
static void eapol_sm_processKey(struct eapol_sm *sm)
{
+#ifndef CONFIG_FIPS
struct ieee802_1x_hdr *hdr;
struct ieee802_1x_eapol_key *key;
struct eap_key_data keydata;
@@ -786,6 +787,7 @@ static void eapol_sm_processKey(struct eapol_sm *sm)
sm->ctx->eapol_done_cb(sm->ctx->ctx);
}
}
+#endif /* CONFIG_FIPS */
}