This commit is contained in:
@@ -947,7 +947,7 @@ static EAPMethodsTable eap_methods_table[] = {
|
||||
{ "peap", need_secrets_phase2, verify_ttls },
|
||||
{ "ttls", need_secrets_phase2, verify_ttls },
|
||||
{ "sim", need_secrets_sim, NULL },
|
||||
{ "gtc", NULL, NULL }, // FIXME: implement
|
||||
{ "gtc", need_secrets_password, verify_identity },
|
||||
{ "otp", NULL, NULL }, // FIXME: implement
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
@@ -1204,7 +1204,9 @@ eap_peap_reader (const char *eap_method,
|
||||
if (!strlen (*iter))
|
||||
continue;
|
||||
|
||||
if (!strcmp (*iter, "MSCHAPV2") || !strcmp (*iter, "MD5")) {
|
||||
if ( !strcmp (*iter, "MSCHAPV2")
|
||||
|| !strcmp (*iter, "MD5")
|
||||
|| !strcmp (*iter, "GTC")) {
|
||||
if (!eap_simple_reader (*iter, ifcfg, keys, s_8021x, TRUE, error))
|
||||
goto done;
|
||||
} else if (!strcmp (*iter, "TLS")) {
|
||||
@@ -1217,7 +1219,6 @@ eap_peap_reader (const char *eap_method,
|
||||
goto done;
|
||||
}
|
||||
|
||||
// FIXME: OTP & GTC too
|
||||
lower = g_ascii_strdown (*iter, -1);
|
||||
g_object_set (s_8021x, NM_SETTING_802_1X_PHASE2_AUTH, lower, NULL);
|
||||
g_free (lower);
|
||||
|
Reference in New Issue
Block a user