Make IKE/EAP IDs available to TNC server/client

This commit is contained in:
Andreas Steffen
2013-02-11 15:30:44 +01:00
parent 98063d8187
commit ebb87f08f7
10 changed files with 92 additions and 28 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2010-2012 Andreas Steffen
* Copyright (C) 2010-2013 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -172,7 +172,8 @@ static eap_tnc_t *eap_tnc_create(identification_t *server,
free(this);
return NULL;
}
tnccs = tnc->tnccs->create_instance(tnc->tnccs, type, is_server);
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);