From 802369e9ddce65e139a03e5f8d83d3acc345006d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 22 May 2013 11:19:13 -0700 Subject: [PATCH] No need to call randombytes_sysrandom_stir_if_needed() twice. --- src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c index 65d3d257..84a1c857 100644 --- a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +++ b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c @@ -148,7 +148,6 @@ randombytes_sysrandom(void) { uint32_t r; - randombytes_sysrandom_stir_if_needed(); randombytes_sysrandom_buf(&r, sizeof r); return r;