From 8bcfc383748488c26c854a034db42c9e31674823 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 22 Jan 2017 09:55:52 +0100 Subject: util.crand: TODOs --- util-src/crand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3