From be960aad88a78967e6425be0d1dc36ea1af6f584 Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Mon, 31 Oct 2011 16:29:20 +0100 Subject: Minor cleanup to enable warning-free Windows build: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed int32_t to size_t - Removed some unused variables - Added missing include files - changed ordering to ensure variable declarations are before asserts Signed-off-by: Adriaan de Jong Tested-by: Samuli Seppänen Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- crypto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto.c') diff --git a/crypto.c b/crypto.c index 375d35a..e628578 100644 --- a/crypto.c +++ b/crypto.c @@ -1336,11 +1336,10 @@ prng_uninit (void) void prng_bytes (uint8_t *output, int len) { - static int32_t processed = 0; + static size_t processed = 0; if (nonce_md) { - md_ctx_t ctx; const int md_size = md_kt_size (nonce_md); while (len > 0) { -- cgit