Use a securely seeded global PRNG for the VM.
It's not 2005 anymore.
This commit is contained in:
@@ -107,9 +107,4 @@ LJ_FUNC int lj_lib_postreg(lua_State *L, lua_CFunction cf, int id,
|
||||
#define LIBINIT_FFID 0xfe
|
||||
#define LIBINIT_END 0xff
|
||||
|
||||
/* Exported library functions. */
|
||||
|
||||
typedef struct RandomState RandomState;
|
||||
LJ_FUNC uint64_t LJ_FASTCALL lj_math_random_step(RandomState *rs);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user