From ababb8ee9e6a01c550cbfc107bb3761c608b64a3 Mon Sep 17 00:00:00 2001 From: Abhishek Sansanwal Date: Tue, 17 Apr 2018 16:42:23 +0530 Subject: [PATCH] Added Phase 2 authentication for EAP-FAST Signed-off-by: Abhishek Sansanwal Change-Id: I882420b95fa89157e24a225b0a71ff0abf4e442a --- sources/libraries/Common/common_eap_connect.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sources/libraries/Common/common_eap_connect.c b/sources/libraries/Common/common_eap_connect.c index 093ce01..0f26cae 100755 --- a/sources/libraries/Common/common_eap_connect.c +++ b/sources/libraries/Common/common_eap_connect.c @@ -728,9 +728,11 @@ static void _create_eap_auth_list(eap_connect_data_t *eap_data, ELM_CTXPOPUP_DIRECTION_UNKNOWN); while (list_eap_auth[i].name != NULL) { - if ((eap_type != EAP_SEC_TYPE_PEAP) || + if ((eap_type != EAP_SEC_TYPE_PEAP && eap_type != EAP_SEC_TYPE_FAST) || (eap_type == EAP_SEC_TYPE_PEAP && i != 1 && - i != 2)) { + i != 2) || + (eap_type == EAP_SEC_TYPE_FAST && i !=1 && + i != 2)) { it = elm_ctxpopup_item_append(ctxpopup, list_eap_auth[i].name, NULL, _gl_eap_auth_sub_sel, eap_data); if (i == 0) { @@ -1434,7 +1436,7 @@ static void _create_and_update_list_items_based_on_rules(eap_type_t new_type, break; case EAP_SEC_TYPE_FAST: insert_after_item = eap_data->eap_type_item; - auth_reqd = EINA_FALSE; + auth_reqd = EINA_TRUE; user_cert_reqd = EINA_FALSE; id_reqd = EINA_TRUE; pw_reqd = EINA_TRUE; -- 2.7.4