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
commit7ffd14c954944fdbf2e7b59d44408213bced7219 (patch)
tree3da207d7fab04a91070429e7f519ce653e86abcb /util
parenta1bfbfbf566482352f80da0abfa0a5ea7f8b5bf9 (diff)
downloadprosody-7ffd14c954944fdbf2e7b59d44408213bced7219.tar.gz
prosody-7ffd14c954944fdbf2e7b59d44408213bced7219.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";
};