Modified some unnecessary todo statement

This commit is contained in:
Sansar Choinyambuu
2011-11-28 14:39:51 +01:00
committed by Andreas Steffen
parent 20c005f9e4
commit b532c454ad
3 changed files with 2 additions and 6 deletions
@@ -103,8 +103,6 @@ TNC_Result TNC_IMC_NotifyConnectionChange(TNC_IMCID imc_id,
TNC_ConnectionState new_state)
{
imc_state_t *state;
/* TODO: Not used so far */
//imc_attestation_state_t *attestation_state;
if (!imc_attestation)
{
@@ -170,8 +170,6 @@ TNC_Result TNC_IMV_NotifyConnectionChange(TNC_IMVID imv_id,
}
attestation_state = (imv_attestation_state_t*)state;
/* TODO: Get some configurations */
return TNC_RESULT_SUCCESS;
default:
return imv_attestation->change_state(imv_attestation, connection_id,
@@ -151,8 +151,8 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list,
aik = attr_cast->get_aik(attr_cast);
if (!aik)
{
/* TODO generate error attribute */
break;
DBG1(DBG_IMV, "AIK unavailable");
return FALSE;
}
if (aik->get_type(aik) == CERT_X509)
{