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 | 7ffd14c954944fdbf2e7b59d44408213bced7219 (patch) | |
tree | 3da207d7fab04a91070429e7f519ce653e86abcb /util | |
parent | a1bfbfbf566482352f80da0abfa0a5ea7f8b5bf9 (diff) | |
download | prosody-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.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"; }; |