added explanatory comments

This commit is contained in:
Andreas Steffen
2010-09-09 08:57:13 +02:00
parent 48b8cbb206
commit 3b7eb3a9f4
2 changed files with 12 additions and 8 deletions
@@ -147,12 +147,16 @@ METHOD(tls_application_t, process, status_t,
switch (status)
{
case SUCCESS:
/* fall through to NEED_MORE since response must be sent */
case NEED_MORE:
/* TODO support multiple EAP request/response exchanges */
this->method->destroy(this->method);
this->method = NULL;
return NEED_MORE;
case NEED_MORE:
if (type != EAP_TNC)
{
this->method->destroy(this->method);
this->method = NULL;
}
return NEED_MORE;
case FAILED:
default:
if (vendor)