mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.crand: Apply formatter
This commit is contained in:
parent
bfaca2ef00
commit
a29f404ece
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ int Lrandom(lua_State *L) {
|
|||
arc4random_buf(buf, len);
|
||||
ret = len;
|
||||
#elif defined(WITH_OPENSSL)
|
||||
|
||||
if(!RAND_status()) {
|
||||
lua_pushliteral(L, "OpenSSL PRNG not seeded");
|
||||
return lua_error(L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue