added EAP-SIM authentication

client side only
  uses an external SIM reader library specified with SIM_READER_LIB
  untested
This commit is contained in:
Martin Willi
2007-03-13 15:01:02 +00:00
parent d2940fd78c
commit b0f24449dd
8 changed files with 6000 additions and 2 deletions
+5
View File
@@ -466,6 +466,11 @@ load_conn(starter_conn_t *conn, kw_list_t *kw, starter_config_t *cfg)
/* TODO: a gperf function for all EAP types */
if (streq(kw->value, "aka"))
conn->eap = 23;
else if (streq(kw->value, "sim"))
{
conn->eap = 18;
}
else
{
conn->eap = atoi(kw->value);