Use standard unsigned integer types
This commit is contained in:
@@ -104,7 +104,7 @@ struct private_eap_authenticator_t {
|
||||
* load an EAP method
|
||||
*/
|
||||
static eap_method_t *load_method(private_eap_authenticator_t *this,
|
||||
eap_type_t type, u_int32_t vendor, eap_role_t role)
|
||||
eap_type_t type, uint32_t vendor, eap_role_t role)
|
||||
{
|
||||
identification_t *server, *peer, *aaa;
|
||||
auth_cfg_t *auth;
|
||||
@@ -143,7 +143,7 @@ static eap_payload_t* server_initiate_eap(private_eap_authenticator_t *this,
|
||||
auth_cfg_t *auth;
|
||||
eap_type_t type;
|
||||
identification_t *id;
|
||||
u_int32_t vendor;
|
||||
uint32_t vendor;
|
||||
eap_payload_t *out;
|
||||
char *action;
|
||||
|
||||
@@ -237,7 +237,7 @@ static eap_payload_t* server_process_eap(private_eap_authenticator_t *this,
|
||||
eap_payload_t *in)
|
||||
{
|
||||
eap_type_t type, received_type, conf_type;
|
||||
u_int32_t vendor, received_vendor, conf_vendor;
|
||||
uint32_t vendor, received_vendor, conf_vendor;
|
||||
eap_payload_t *out;
|
||||
auth_cfg_t *auth;
|
||||
|
||||
@@ -341,7 +341,7 @@ static eap_payload_t* client_process_eap(private_eap_authenticator_t *this,
|
||||
eap_payload_t *in)
|
||||
{
|
||||
eap_type_t type, conf_type;
|
||||
u_int32_t vendor, conf_vendor;
|
||||
uint32_t vendor, conf_vendor;
|
||||
auth_cfg_t *auth;
|
||||
eap_payload_t *out;
|
||||
identification_t *id;
|
||||
@@ -449,7 +449,7 @@ static bool verify_auth(private_eap_authenticator_t *this, message_t *message,
|
||||
auth_cfg_t *auth;
|
||||
keymat_v2_t *keymat;
|
||||
eap_type_t type;
|
||||
u_int32_t vendor;
|
||||
uint32_t vendor;
|
||||
|
||||
auth_payload = (auth_payload_t*)message->get_payload(message,
|
||||
PLV2_AUTH);
|
||||
@@ -595,7 +595,7 @@ METHOD(authenticator_t, process_client, status_t,
|
||||
}
|
||||
if (this->require_mutual && !this->method->is_mutual(this->method))
|
||||
{ /* we require mutual authentication due to EAP-only */
|
||||
u_int32_t vendor;
|
||||
uint32_t vendor;
|
||||
|
||||
DBG1(DBG_IKE, "EAP-only authentication requires a mutual and "
|
||||
"MSK deriving EAP method, but %N is not",
|
||||
@@ -623,7 +623,7 @@ METHOD(authenticator_t, process_client, status_t,
|
||||
case EAP_SUCCESS:
|
||||
{
|
||||
eap_type_t type;
|
||||
u_int32_t vendor;
|
||||
uint32_t vendor;
|
||||
auth_cfg_t *cfg;
|
||||
|
||||
if (this->method->get_msk(this->method, &this->msk) == SUCCESS)
|
||||
@@ -685,7 +685,7 @@ METHOD(authenticator_t, is_mutual, bool,
|
||||
{
|
||||
if (this->method)
|
||||
{
|
||||
u_int32_t vendor;
|
||||
uint32_t vendor;
|
||||
|
||||
if (this->method->get_type(this->method, &vendor) != EAP_IDENTITY ||
|
||||
vendor != 0)
|
||||
|
||||
@@ -63,7 +63,7 @@ struct private_pubkey_authenticator_t {
|
||||
static bool parse_signature_auth_data(chunk_t *auth_data, key_type_t *key_type,
|
||||
signature_scheme_t *scheme)
|
||||
{
|
||||
u_int8_t len;
|
||||
uint8_t len;
|
||||
int oid;
|
||||
|
||||
if (!auth_data->len)
|
||||
@@ -91,7 +91,7 @@ static bool build_signature_auth_data(chunk_t *auth_data,
|
||||
signature_scheme_t scheme)
|
||||
{
|
||||
chunk_t data;
|
||||
u_int8_t len;
|
||||
uint8_t len;
|
||||
int oid;
|
||||
|
||||
oid = signature_scheme_to_oid(scheme);
|
||||
|
||||
Reference in New Issue
Block a user