Encode EAP-Naks in expanded format if we got an expanded type request
Since methods defined by the IETF (vendor ID 0) could also be encoded in expanded type format the previous check was insufficient.
This commit is contained in:
@@ -193,7 +193,7 @@ METHOD(tls_application_t, process, status_t,
|
||||
{
|
||||
DBG1(DBG_IKE, "EAP method not supported");
|
||||
this->out = eap_payload_create_nak(in->get_identifier(in), 0, 0,
|
||||
received_vendor != 0);
|
||||
in->is_expanded(in));
|
||||
in->destroy(in);
|
||||
return NEED_MORE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user