util-src/crand.c
changeset 7835 d02ef0ae94af
parent 7834 201d0df6cce9
child 7918 e3d3ebd417f4
--- 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;