Use standard unsigned integer types
This commit is contained in:
@@ -134,7 +134,7 @@ METHOD(proposal_keywords_t, get_token, const proposal_token_t*,
|
||||
|
||||
METHOD(proposal_keywords_t, register_token, void,
|
||||
private_proposal_keywords_t *this, const char *name, transform_type_t type,
|
||||
u_int16_t algorithm, u_int16_t keysize)
|
||||
uint16_t algorithm, uint16_t keysize)
|
||||
{
|
||||
proposal_token_t *token;
|
||||
|
||||
|
||||
@@ -69,12 +69,12 @@ struct proposal_token_t {
|
||||
/**
|
||||
* The IKE id of the algorithm.
|
||||
*/
|
||||
u_int16_t algorithm;
|
||||
uint16_t algorithm;
|
||||
|
||||
/**
|
||||
* The key size associated with the specific algorithm.
|
||||
*/
|
||||
u_int16_t keysize;
|
||||
uint16_t keysize;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -100,8 +100,8 @@ struct proposal_keywords_t {
|
||||
* @param keysize the key size associated with the specific algorithm
|
||||
*/
|
||||
void (*register_token)(proposal_keywords_t *this, const char *name,
|
||||
transform_type_t type, u_int16_t algorithm,
|
||||
u_int16_t keysize);
|
||||
transform_type_t type, uint16_t algorithm,
|
||||
uint16_t keysize);
|
||||
|
||||
/**
|
||||
* Register an algorithm name parser.
|
||||
|
||||
Reference in New Issue
Block a user