From b16013b86be5063dfe32a59cf04febebed0a6d35 Mon Sep 17 00:00:00 2001 From: redwire Date: Sun, 21 Jul 2013 21:23:21 -0230 Subject: Fixed temp redeclaration --- core/net_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3