aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_auth/eapol_auth_sm.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 /src/eapol_auth/eapol_auth_sm.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 'src/eapol_auth/eapol_auth_sm.c')
-rw-r--r--src/eapol_auth/eapol_auth_sm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eapol_auth/eapol_auth_sm.c b/src/eapol_auth/eapol_auth_sm.c
index a3b1c92..841a1c5 100644
--- a/src/eapol_auth/eapol_auth_sm.c
+++ b/src/eapol_auth/eapol_auth_sm.c
@@ -833,6 +833,7 @@ eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
eap_conf.assoc_p2p_ie = assoc_p2p_ie;
eap_conf.peer_addr = addr;
eap_conf.fragment_size = eapol->conf.fragment_size;
+ eap_conf.pwd_group = eapol->conf.pwd_group;
sm->eap = eap_server_sm_init(sm, &eapol_cb, &eap_conf);
if (sm->eap == NULL) {
eapol_auth_free(sm);
@@ -1037,6 +1038,7 @@ static int eapol_auth_conf_clone(struct eapol_auth_config *dst,
dst->msg_ctx = src->msg_ctx;
dst->eap_sim_db_priv = src->eap_sim_db_priv;
os_free(dst->eap_req_id_text);
+ dst->pwd_group = src->pwd_group;
if (src->eap_req_id_text) {
dst->eap_req_id_text = os_malloc(src->eap_req_id_text_len);
if (dst->eap_req_id_text == NULL)