lua-arc4random

Cryptographically secure PRNG for Lua
Log | Files | Refs

commit a7f569cdad2b9a474abfa70e4edb20e74378df53
parent 92196c0a049c2b3492d94c60b9610f24c33df1b0
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue, 20 Jan 2015 18:11:20 +0000

Use /* */ instead of //

Diffstat:
src/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c @@ -29,7 +29,7 @@ #define LUAINT_MAX ( sizeof( lua_Integer ) == 32 ? INT32_MAX : INT64_MAX ) static int luaarc4_random( lua_State * const L ) { - // http://marc.info/?l=openbsd-tech&m=142175806616927&w=2 + /* http://marc.info/?l=openbsd-tech&m=142175806616927&w=2 */ if( lua_gettop( L ) == 0 ) { uint16_t buf[ 3 ]; arc4random_buf( buf, sizeof( buf ) );