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:
1 parent
78e8dca94f
commit
cc4eec56f7
5 files changed
+19
-6
No files matched your search
@@ -152,7 +152,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;
|
||||
}
|
||||
|
||||
@@ -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