Use standard unsigned integer types
This commit is contained in:
@@ -36,7 +36,7 @@ struct private_prf_t {
|
||||
};
|
||||
|
||||
METHOD(prf_t, get_bytes, bool,
|
||||
private_prf_t *this, chunk_t seed, u_int8_t *buffer)
|
||||
private_prf_t *this, chunk_t seed, uint8_t *buffer)
|
||||
{
|
||||
return this->mac->get_mac(this->mac, seed, buffer);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ struct prf_t {
|
||||
* @return TRUE if bytes generated successfully
|
||||
*/
|
||||
bool (*get_bytes)(prf_t *this, chunk_t seed,
|
||||
u_int8_t *buffer) __attribute__((warn_unused_result));
|
||||
uint8_t *buffer) __attribute__((warn_unused_result));
|
||||
|
||||
/**
|
||||
* Generates pseudo random bytes and allocate space for them.
|
||||
|
||||
Reference in New Issue
Block a user