determine underlying IF-T transport protocol

This commit is contained in:
Andreas Steffen
2013-02-12 12:25:39 +01:00
parent bd1ee5bdc4
commit 3e56352815
13 changed files with 231 additions and 65 deletions
+4 -4
View File
@@ -173,10 +173,10 @@ static eap_tnc_t *eap_tnc_create(identification_t *server,
return NULL;
}
tnccs = tnc->tnccs->create_instance(tnc->tnccs, type, is_server,
server, peer);
this->tls_eap = tls_eap_create(EAP_TNC, (tls_t*)tnccs,
EAP_TNC_MAX_MESSAGE_LEN,
max_msg_count, FALSE);
server, peer, TNC_IFT_EAP_1_1);
this->tls_eap = tls_eap_create(EAP_TNC, &tnccs->tls,
EAP_TNC_MAX_MESSAGE_LEN,
max_msg_count, FALSE);
if (!this->tls_eap)
{
free(this);