aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-16 17:22:51 +0200
committerKim Alvefur <zash@zash.se>2017-09-16 17:22:51 +0200
commit880a7c3e32681f1380dd72ecbe794177df126ff1 (patch)
treea42d3424af69930fa58ee14693c785df30adcd74 /util
parent1a74016edf9c9f97b2b5a95cd5529b287ed83eb4 (diff)
downloadprosody-880a7c3e32681f1380dd72ecbe794177df126ff1.tar.gz
prosody-880a7c3e32681f1380dd72ecbe794177df126ff1.zip
util.random: Remove obsolete noop seed function
Diffstat (limited to 'util')
-rw-r--r--util/random.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/random.lua b/util/random.lua
index 574e2e1c..83111655 100644
--- a/util/random.lua
+++ b/util/random.lua
@@ -11,9 +11,6 @@ if ok then return crand; end
local urandom, urandom_err = io.open("/dev/urandom", "r");
-local function seed()
-end
-
local function bytes(n)
return urandom:read(n);
end
@@ -25,6 +22,5 @@ if not urandom then
end
return {
- seed = seed;
bytes = bytes;
};