Fixed AR identities in mutual TNC measurements case

This commit is contained in:
Andreas Steffen
2015-08-15 22:46:21 +02:00
parent df085a158a
commit a330f72ecf
3 changed files with 11 additions and 2 deletions
+4
View File
@@ -335,6 +335,10 @@ static eap_tnc_t *eap_tnc_create(identification_t *server,
free(this);
return NULL;
}
if (!is_server)
{
tnccs->set_auth_type(tnccs, TNC_AUTH_X509_CERT);
}
this->tnccs = tnccs->get_ref(tnccs);
this->tls_eap = tls_eap_create(type, &tnccs->tls,
EAP_TNC_MAX_MESSAGE_LEN,