Ported pseudonym/reauth functionality to EAP-AKA

This commit is contained in:
Martin Willi
2009-11-12 10:34:01 +01:00
parent 3374cb0f44
commit 15b65bf15d
5 changed files with 569 additions and 67 deletions
@@ -305,8 +305,6 @@ static status_t process_start(private_eap_sim_server_t *this,
mk, &counter);
if (permanent)
{
DBG1(DBG_IKE, "received reauthentication identity '%Y' "
"mapping to '%Y'", id, permanent);
this->permanent->destroy(this->permanent);
this->permanent = permanent;
this->reauth = id;
@@ -323,8 +321,6 @@ static status_t process_start(private_eap_sim_server_t *this,
permanent = charon->sim->provider_is_pseudonym(charon->sim, id);
if (permanent)
{
DBG1(DBG_IKE, "received pseudonym identity '%Y' "
"mapping to '%Y'", id, permanent);
this->permanent->destroy(this->permanent);
this->permanent = permanent;
this->pseudonym = id->clone(id);