diff options
author | Kim Alvefur <zash@zash.se> | 2017-09-16 17:24:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-09-16 17:24:13 +0200 |
commit | 6c31ce7205feca1d29fbd56f8e3bc0e21eb0e4ef (patch) | |
tree | 3da207d7fab04a91070429e7f519ce653e86abcb /util/random.lua | |
parent | 3937703c4d9a2ea3200d93d7e3a1eecea3f1e1cb (diff) | |
download | prosody-6c31ce7205feca1d29fbd56f8e3bc0e21eb0e4ef.tar.gz prosody-6c31ce7205feca1d29fbd56f8e3bc0e21eb0e4ef.zip |
util.random: Add a _source field to match util.crand
Diffstat (limited to 'util/random.lua')
-rw-r--r-- | util/random.lua | 1 |
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"; }; |