aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eap_register.c
diff options
context:
space:
mode:
authorDan Harkins <dharkins@lounge.org>2010-09-15 07:51:40 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-15 07:51:40 (GMT)
commitdf684d82ff2cf644dfd543a0399368cfb8dc0311 (patch)
treea62d1c85122af5838e0a334262759e0c104c0318 /wpa_supplicant/eap_register.c
parentea184114ca04ac42f219bb655da5e11dc0a8f73b (diff)
downloadhostap-df684d82ff2cf644dfd543a0399368cfb8dc0311.zip
hostap-df684d82ff2cf644dfd543a0399368cfb8dc0311.tar.gz
hostap-df684d82ff2cf644dfd543a0399368cfb8dc0311.tar.bz2
EAP-pwd: Add support for EAP-pwd server and peer functionality
This adds an initial EAP-pwd (RFC 5931) implementation. For now, this requires OpenSSL.
Diffstat (limited to 'wpa_supplicant/eap_register.c')
-rw-r--r--wpa_supplicant/eap_register.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/eap_register.c b/wpa_supplicant/eap_register.c
index f668874..e5f43aa 100644
--- a/wpa_supplicant/eap_register.c
+++ b/wpa_supplicant/eap_register.c
@@ -130,6 +130,10 @@ int eap_register_methods(void)
ret = eap_peer_tnc_register();
#endif /* EAP_TNC */
+#ifdef EAP_PWD
+ if (ret == 0)
+ ret = eap_peer_pwd_register();
+#endif /* EAP_PWD */
#ifdef EAP_SERVER_IDENTITY
if (ret == 0)
@@ -231,5 +235,10 @@ int eap_register_methods(void)
ret = eap_server_tnc_register();
#endif /* EAP_SERVER_TNC */
+#ifdef EAP_SERVER_PWD
+ if (ret == 0)
+ ret = eap_server_pwd_register();
+#endif /* EAP_SERVER_PWD */
+
return ret;
}