aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-16 17:24:13 +0200
committerKim Alvefur <zash@zash.se>2017-09-16 17:24:13 +0200
commit6c31ce7205feca1d29fbd56f8e3bc0e21eb0e4ef (patch)
tree3da207d7fab04a91070429e7f519ce653e86abcb /util
parent3937703c4d9a2ea3200d93d7e3a1eecea3f1e1cb (diff)
downloadprosody-6c31ce7205feca1d29fbd56f8e3bc0e21eb0e4ef.tar.gz
prosody-6c31ce7205feca1d29fbd56f8e3bc0e21eb0e4ef.zip
util.random: Add a _source field to match util.crand
Diffstat (limited to 'util')
-rw-r--r--util/random.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/random.lua b/util/random.lua
index 574e2e1c..b2d0000d 100644
--- a/util/random.lua
+++ b/util/random.lua
@@ -27,4 +27,5 @@ end
return {
seed = seed;
bytes = bytes;
+ _source = "/dev/urandom";
};