Use standard unsigned integer types
This commit is contained in:
@@ -146,7 +146,7 @@ METHOD(hasher_t, reset, bool,
|
||||
}
|
||||
|
||||
METHOD(hasher_t, get_hash, bool,
|
||||
private_pkcs11_hasher_t *this, chunk_t chunk, u_int8_t *hash)
|
||||
private_pkcs11_hasher_t *this, chunk_t chunk, uint8_t *hash)
|
||||
{
|
||||
CK_RV rv;
|
||||
CK_ULONG len;
|
||||
|
||||
@@ -44,7 +44,7 @@ struct private_pkcs11_rng_t {
|
||||
};
|
||||
|
||||
METHOD(rng_t, get_bytes, bool,
|
||||
private_pkcs11_rng_t *this, size_t bytes, u_int8_t *buffer)
|
||||
private_pkcs11_rng_t *this, size_t bytes, uint8_t *buffer)
|
||||
{
|
||||
CK_RV rv;
|
||||
rv = this->lib->f->C_GenerateRandom(this->session, buffer, bytes);
|
||||
|
||||
Reference in New Issue
Block a user