eap: Use pen_t instead of uint32_t for vendor ID
This commit is contained in:
@@ -78,7 +78,7 @@ METHOD(eap_method_t, process, status_t,
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, get_type, eap_type_t,
|
||||
private_eap_ttls_t *this, uint32_t *vendor)
|
||||
private_eap_ttls_t *this, pen_t *vendor)
|
||||
{
|
||||
*vendor = 0;
|
||||
return EAP_TTLS;
|
||||
|
||||
@@ -76,7 +76,7 @@ METHOD(tls_application_t, process, status_t,
|
||||
eap_packet_t *pkt;
|
||||
eap_code_t code;
|
||||
eap_type_t type, received_type;
|
||||
uint32_t vendor, received_vendor;
|
||||
pen_t vendor, received_vendor;
|
||||
uint16_t eap_len;
|
||||
size_t eap_pos = 0;
|
||||
bool concatenated = FALSE;
|
||||
@@ -241,7 +241,7 @@ METHOD(tls_application_t, build, status_t,
|
||||
chunk_t data;
|
||||
eap_code_t code;
|
||||
eap_type_t type;
|
||||
uint32_t vendor;
|
||||
pen_t vendor;
|
||||
|
||||
if (this->method == NULL && this->start_phase2)
|
||||
{
|
||||
|
||||
@@ -164,7 +164,7 @@ METHOD(tls_application_t, process, status_t,
|
||||
eap_payload_t *in;
|
||||
eap_code_t code;
|
||||
eap_type_t type = EAP_NAK, received_type;
|
||||
uint32_t vendor, received_vendor;
|
||||
pen_t vendor, received_vendor;
|
||||
|
||||
status = this->avp->process(this->avp, reader, &data);
|
||||
switch (status)
|
||||
@@ -310,7 +310,7 @@ METHOD(tls_application_t, build, status_t,
|
||||
chunk_t data;
|
||||
eap_code_t code;
|
||||
eap_type_t type;
|
||||
uint32_t vendor;
|
||||
pen_t vendor;
|
||||
|
||||
if (this->method == NULL && this->start_phase2 &&
|
||||
lib->settings->get_bool(lib->settings,
|
||||
|
||||
Reference in New Issue
Block a user