diff --git a/core/net_crypto.c b/core/net_crypto.c index 166adafb..bdde7063 100644 --- a/core/net_crypto.c +++ b/core/net_crypto.c @@ -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); } }