diff options
author | Mike Pall <mike> | 2020-06-15 12:21:05 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2020-06-15 12:21:05 +0200 |
commit | a44f53acf53603e7d9b88352de035b1804be4e88 (patch) | |
tree | 940e202e0ca56e0df42860fbc89326e72cdc148d /src/lj_lib.h | |
parent | 34e53736c6ed90dc56357aff22009e88b443ecfd (diff) | |
download | luajit-a44f53acf53603e7d9b88352de035b1804be4e88.tar.gz luajit-a44f53acf53603e7d9b88352de035b1804be4e88.tar.bz2 luajit-a44f53acf53603e7d9b88352de035b1804be4e88.zip |
Use a securely seeded global PRNG for the VM.
It's not 2005 anymore.
Diffstat (limited to 'src/lj_lib.h')
-rw-r--r-- | src/lj_lib.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lj_lib.h b/src/lj_lib.h index 83778b83..496bdb2a 100644 --- a/src/lj_lib.h +++ b/src/lj_lib.h | |||
@@ -107,9 +107,4 @@ LJ_FUNC int lj_lib_postreg(lua_State *L, lua_CFunction cf, int id, | |||
107 | #define LIBINIT_FFID 0xfe | 107 | #define LIBINIT_FFID 0xfe |
108 | #define LIBINIT_END 0xff | 108 | #define LIBINIT_END 0xff |
109 | 109 | ||
110 | /* Exported library functions. */ | ||
111 | |||
112 | typedef struct RandomState RandomState; | ||
113 | LJ_FUNC uint64_t LJ_FASTCALL lj_math_random_step(RandomState *rs); | ||
114 | |||
115 | #endif | 110 | #endif |