mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed temp redeclaration
This commit is contained in:
parent
99c3426cbc
commit
b16013b86b
|
@ -144,7 +144,7 @@ void random_nonce(uint8_t * nonce)
|
|||
uint32_t i, temp;
|
||||
for (i = 0; i < crypto_box_NONCEBYTES / 4; ++i)
|
||||
{
|
||||
uint32_t temp = random_int();
|
||||
temp = random_int();
|
||||
memcpy(nonce + 4 * i, &temp, 4);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user