# HG changeset patch # User Kim Alvefur # Date 1512084565 -3600 # Node ID b0a267f77d9e23ae62e4ef8aec3eb0bf610c3ee7 # Parent 65c82a7d0537e6a12f5c5fed19bce1f802bec1a0 util.crand: Apply formatter diff -r 65c82a7d0537 -r b0a267f77d9e util-src/crand.c --- a/util-src/crand.c Fri Dec 01 00:28:52 2017 +0100 +++ b/util-src/crand.c Fri Dec 01 00:29:25 2017 +0100 @@ -77,6 +77,7 @@ arc4random_buf(buf, len); ret = len; #elif defined(WITH_OPENSSL) + if(!RAND_status()) { lua_pushliteral(L, "OpenSSL PRNG not seeded"); return lua_error(L);