Use standard unsigned integer types
This commit is contained in:
@@ -76,7 +76,7 @@ METHOD(eap_method_t, process, status_t,
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, get_type, eap_type_t,
|
||||
private_eap_ttls_t *this, u_int32_t *vendor)
|
||||
private_eap_ttls_t *this, uint32_t *vendor)
|
||||
{
|
||||
*vendor = 0;
|
||||
return EAP_TTLS;
|
||||
@@ -93,14 +93,14 @@ METHOD(eap_method_t, get_msk, status_t,
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, get_identifier, u_int8_t,
|
||||
METHOD(eap_method_t, get_identifier, uint8_t,
|
||||
private_eap_ttls_t *this)
|
||||
{
|
||||
return this->tls_eap->get_identifier(this->tls_eap);
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, set_identifier, void,
|
||||
private_eap_ttls_t *this, u_int8_t identifier)
|
||||
private_eap_ttls_t *this, uint8_t identifier)
|
||||
{
|
||||
this->tls_eap->set_identifier(this->tls_eap, identifier);
|
||||
}
|
||||
|
||||
@@ -58,8 +58,8 @@ METHOD(eap_ttls_avp_t, build, void,
|
||||
{
|
||||
char zero_padding[] = { 0x00, 0x00, 0x00 };
|
||||
chunk_t avp_padding;
|
||||
u_int8_t avp_flags;
|
||||
u_int32_t avp_len;
|
||||
uint8_t avp_flags;
|
||||
uint32_t avp_len;
|
||||
|
||||
avp_flags = 0x40;
|
||||
avp_len = 8 + data.len;
|
||||
@@ -81,9 +81,9 @@ METHOD(eap_ttls_avp_t, process, status_t,
|
||||
if (this->process_header)
|
||||
{
|
||||
bio_reader_t *header;
|
||||
u_int32_t avp_code;
|
||||
u_int8_t avp_flags;
|
||||
u_int32_t avp_len;
|
||||
uint32_t avp_code;
|
||||
uint8_t avp_flags;
|
||||
uint32_t avp_len;
|
||||
bool success;
|
||||
|
||||
len = min(reader->remaining(reader), AVP_HEADER_LEN - this->inpos);
|
||||
|
||||
@@ -75,8 +75,8 @@ METHOD(tls_application_t, process, status_t,
|
||||
eap_packet_t *pkt;
|
||||
eap_code_t code;
|
||||
eap_type_t type, received_type;
|
||||
u_int32_t vendor, received_vendor;
|
||||
u_int16_t eap_len;
|
||||
uint32_t vendor, received_vendor;
|
||||
uint16_t eap_len;
|
||||
size_t eap_pos = 0;
|
||||
bool concatenated = FALSE;
|
||||
|
||||
@@ -240,7 +240,7 @@ METHOD(tls_application_t, build, status_t,
|
||||
chunk_t data;
|
||||
eap_code_t code;
|
||||
eap_type_t type;
|
||||
u_int32_t vendor;
|
||||
uint32_t vendor;
|
||||
|
||||
if (this->method == NULL && this->start_phase2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user