for the time being assume a single request/response exchange for a given EAP method
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user