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)
|
switch (status)
|
||||||
{
|
{
|
||||||
case SUCCESS:
|
case SUCCESS:
|
||||||
this->method->destroy(this->method);
|
|
||||||
this->method = NULL;
|
|
||||||
/* fall through to NEED_MORE since response must be sent */
|
/* fall through to NEED_MORE since response must be sent */
|
||||||
case NEED_MORE:
|
case NEED_MORE:
|
||||||
|
/* TODO support multiple EAP request/response exchanges */
|
||||||
|
this->method->destroy(this->method);
|
||||||
|
this->method = NULL;
|
||||||
return NEED_MORE;
|
return NEED_MORE;
|
||||||
case FAILED:
|
case FAILED:
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user