diff options
author | Kim Alvefur <zash@zash.se> | 2017-01-22 09:55:52 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-01-22 09:55:52 +0100 |
commit | 11d31ff179d06a1d981956286b2c3b6b0d45e75a (patch) | |
tree | 62964f884a4f0e81656b15c1cfd663c845f6047f /util-src/crand.c | |
parent | 6adfe1e74325f9545fc4032b8d3fdecc92386983 (diff) | |
download | prosody-11d31ff179d06a1d981956286b2c3b6b0d45e75a.tar.gz prosody-11d31ff179d06a1d981956286b2c3b6b0d45e75a.zip |
util.crand: TODOs
Diffstat (limited to 'util-src/crand.c')
-rw-r--r-- | util-src/crand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-src/crand.c b/util-src/crand.c index 7dd71a92..cc2047eb 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -72,6 +72,7 @@ int Lrandom(lua_State *L) { if(ret == 1) { ret = len; } else { + /* TODO ERR_get_error() */ lua_pushstring(L, "RAND_bytes() failed"); return lua_error(L); } @@ -100,7 +101,7 @@ int luaopen_util_crand(lua_State *L) { lua_setfield(L, -2, "_source"); #if defined(WITH_OPENSSL) && defined(_WIN32) - /* Do we need to seed this on Windows? */ + /* TODO Do we need to seed this on Windows? */ #endif return 1; |