Software /
code /
prosody
Diff
util-src/crand.c @ 7832:d02ef0ae94af
util.crand: TODOs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Jan 2017 09:55:52 +0100 |
parent | 7831:201d0df6cce9 |
child | 7915:e3d3ebd417f4 |
line wrap: on
line diff
--- a/util-src/crand.c Sun Jan 22 09:55:44 2017 +0100 +++ b/util-src/crand.c Sun Jan 22 09:55:52 2017 +0100 @@ -72,6 +72,7 @@ if(ret == 1) { ret = len; } else { + /* TODO ERR_get_error() */ lua_pushstring(L, "RAND_bytes() failed"); return lua_error(L); } @@ -100,7 +101,7 @@ 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;