SIM/AKA/Request/Reauthentication AT_MAC does not include NONCE_S, only the response

This commit is contained in:
Martin Willi
2009-11-30 09:27:39 +01:00
parent 5a91fd4536
commit b04e72c21c
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ static status_t process_reauthentication(private_eap_aka_peer_t *this,
*out = create_client_error(this, in->get_identifier(in));
return NEED_MORE;
}
if (!in->verify(in, nonce))
if (!in->verify(in, chunk_empty))
{
*out = create_client_error(this, in->get_identifier(in));
return NEED_MORE;
+1 -2
View File
@@ -244,8 +244,7 @@ static status_t reauthenticate(private_eap_aka_server_t *this,
next->get_encoding(next));
next->destroy(next);
}
/* create AT_MAC over EAP-Message|NONCE_S */
*out = message->generate(message, this->nonce);
*out = message->generate(message, chunk_empty);
message->destroy(message);
this->pending = SIM_REAUTHENTICATION;
+1 -1
View File
@@ -429,7 +429,7 @@ static status_t process_reauthentication(private_eap_sim_peer_t *this,
SIM_UNABLE_TO_PROCESS);
return NEED_MORE;
}
if (!in->verify(in, nonce))
if (!in->verify(in, chunk_empty))
{
*out = create_client_error(this, in->get_identifier(in),
SIM_UNABLE_TO_PROCESS);
+1 -2
View File
@@ -172,8 +172,7 @@ static status_t reauthenticate(private_eap_sim_server_t *this,
next->get_encoding(next));
next->destroy(next);
}
/* create AT_MAC over EAP-Message|NONCE_S */
*out = message->generate(message, this->nonce);
*out = message->generate(message, chunk_empty);
message->destroy(message);
this->pending = SIM_REAUTHENTICATION;