From 8b38567d751848d93b18e96de1cddde339ebdbf0 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Thu, 6 Aug 2009 22:03:21 +0200 Subject: Added missing poolsize info to the README + minor change in fs.lua --- entropy.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'entropy.lua') diff --git a/entropy.lua b/entropy.lua index c9b798d..33da459 100644 --- a/entropy.lua +++ b/entropy.lua @@ -19,9 +19,7 @@ module("vicious.entropy") function worker(format, poolsize) -- Don't waste time opening the poolsize, Linux 2.6 has a default -- entropy pool of 4096-bits, if needed specify otherwise - if poolsize == nil then - poolsize = 4096 - end + if poolsize == nil then poolsize = 4096 end -- Get available entropy local f = io.open("/proc/sys/kernel/random/entropy_avail") -- cgit v1.2.3