Send empty SIM/AKA-NOTIFICATION response for non-success codes, too
This commit is contained in:
@@ -421,7 +421,6 @@ static status_t process_notification(private_eap_aka_peer_t *this,
|
|||||||
/* test success bit */
|
/* test success bit */
|
||||||
if (!(data.ptr[0] & 0x80))
|
if (!(data.ptr[0] & 0x80))
|
||||||
{
|
{
|
||||||
success = FALSE;
|
|
||||||
DBG1(DBG_IKE, "received EAP-AKA notification error '%N'",
|
DBG1(DBG_IKE, "received EAP-AKA notification error '%N'",
|
||||||
simaka_notification_names, code);
|
simaka_notification_names, code);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -484,7 +484,6 @@ static status_t process_notification(private_eap_sim_peer_t *this,
|
|||||||
/* test success bit */
|
/* test success bit */
|
||||||
if (!(data.ptr[0] & 0x80))
|
if (!(data.ptr[0] & 0x80))
|
||||||
{
|
{
|
||||||
success = FALSE;
|
|
||||||
DBG1(DBG_IKE, "received EAP-SIM notification error '%N'",
|
DBG1(DBG_IKE, "received EAP-SIM notification error '%N'",
|
||||||
simaka_notification_names, code);
|
simaka_notification_names, code);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user