Fixed temp redeclaration

This commit is contained in:
redwire 2013-07-21 21:23:21 -02:30
parent 99c3426cbc
commit b16013b86b

View File

@ -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);
}
}