for the time being assume a single request/response exchange for a given EAP method

This commit is contained in:
Andreas Steffen
2010-08-30 15:36:34 +02:00
parent 2402dee177
commit 577893612f
@@ -147,10 +147,11 @@ METHOD(tls_application_t, process, status_t,
switch (status)
{
case SUCCESS:
this->method->destroy(this->method);
this->method = NULL;
/* 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 FAILED:
default: