index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util-src
/
crand.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
util.crand: Return early if a zero bytes are requested
Kim Alvefur
2017-12-03
1
-1
/
+5
*
util.crand: Throw an error for sizes smaller than 1 byte
Kim Alvefur
2017-12-03
1
-1
/
+3
*
util.crand: Make it possible to use arc4random on Linux (needs libbsd)
Kim Alvefur
2017-12-03
1
-1
/
+5
*
util.crand: Use a small buffer on the stack for small pieces of random, shoul...
Kim Alvefur
2017-12-03
1
-1
/
+11
*
util.crand: Remove unneeded cast
Kim Alvefur
2017-12-03
1
-1
/
+1
*
util.crand: Silence signedness warning
Kim Alvefur
2017-12-03
1
-1
/
+1
*
util.crand: Only keep return value of getrandom() as the others don't return ...
Kim Alvefur
2017-12-02
1
-14
/
+6
*
util.crand: Try getrandom() again until buffer is filled
Kim Alvefur
2017-12-02
1
-5
/
+15
*
util.crand: Add comments about defines
Kim Alvefur
2017-12-01
1
-0
/
+2
*
util.crand: Apply formatter
Kim Alvefur
2017-12-01
1
-0
/
+1
*
util.crand: Reorder includes so system ones are first
Kim Alvefur
2017-12-01
1
-3
/
+2
*
util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined
Kim Alvefur
2017-12-01
1
-3
/
+3
*
util.crand: Build with musl/non-glibc (can't have undefined argument-taking m...
Kim Alvefur
2017-04-25
1
-0
/
+4
*
util-src: Specify size of various tables to be allocated
Kim Alvefur
2017-03-09
1
-1
/
+1
*
util.crand: Only include getrandom shiv with glibc older than 2.25
Kim Alvefur
2017-03-02
1
-1
/
+6
*
util.crand: Change argumen names to match some man page
Kim Alvefur
2017-03-02
1
-2
/
+2
*
util.crand: Move comment block
Kim Alvefur
2017-03-01
1
-4
/
+4
*
util.pposix, configure: Move _GNU_SOURCE macro into source files
Kim Alvefur
2017-03-01
1
-0
/
+2
*
util.crand: Clarify that lua_error does not return
Kim Alvefur
2017-02-25
1
-1
/
+1
*
util.crand: Throw error if OpenSSLs RNG is not seeded
Kim Alvefur
2017-02-25
1
-4
/
+6
*
util.crand: TODOs
Kim Alvefur
2017-01-22
1
-1
/
+2
*
util.crand: Comment about getrandom
Kim Alvefur
2017-01-22
1
-1
/
+4
*
util.crand: Add comment describing purpose of module
Kim Alvefur
2017-01-22
1
-0
/
+6
*
util.crand: Update copyright header
Kim Alvefur
2017-01-22
1
-3
/
+3
*
util.crand: Raise hard errors
Kim Alvefur
2017-01-20
1
-7
/
+3
*
util.crand: Remove seeding
Kim Alvefur
2017-01-20
1
-20
/
+0
*
util.crand: Let Lua handle allocation, freeing and error handling for buffer
Kim Alvefur
2017-01-20
1
-40
/
+3
*
util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3
Kim Alvefur
2017-01-20
1
-1
/
+2
*
util-src: Make C modules assert that the Lua runtime matches what it was comp...
Kim Alvefur
2017-01-08
1
-0
/
+3
*
util.crand: Silence compiler warning
Kim Alvefur
2016-05-25
1
-1
/
+1
*
util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)
Kim Alvefur
2016-02-22
1
-1
/
+1
*
util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4ran...
Kim Alvefur
2016-02-22
1
-0
/
+156