pts_meas_algo_probe() and pts_dh_group_probe() got lost

This commit is contained in:
Andreas Steffen
2013-06-21 23:25:23 +02:00
parent c174c116fe
commit 7e9bdd20aa
@@ -386,7 +386,7 @@ METHOD(imv_agent_if_t, destroy, void,
}
DESTROY_IF(this->pts_db);
DESTROY_IF(this->pts_credmgr);
this->agent->destroy(this->agent);
DESTROY_IF(this->agent);
free(this);
libpts_deinit();
}
@@ -428,6 +428,8 @@ imv_agent_if_t *imv_attestation_agent_create(const char *name, TNC_IMVID id,
);
if (!this->agent ||
!pts_meas_algo_probe(&this->supported_algorithms) ||
!pts_dh_group_probe(&this->supported_dh_groups) ||
!pts_meas_algo_update(hash_alg, &this->supported_algorithms) ||
!pts_dh_group_update(dh_group, &this->supported_dh_groups))
{