crypto/random_pool.c: Correct indexing on void pointer
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
4e038c1724
commit
cdb1b00f34
@ -323,7 +323,7 @@ static void rng_reseed(void)
|
||||
g_rng.output_initialized = true;
|
||||
}
|
||||
|
||||
static void rng_buf_internal(FAR void *bytes, size_t nbytes)
|
||||
static void rng_buf_internal(FAR uint8_t *bytes, size_t nbytes)
|
||||
{
|
||||
if (!g_rng.output_initialized)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user