Diff

util-src/crand.c @ 12715:5dd00f806e32

util.crypto: Use Lua 5.2 API for predictable buffer size In Lua 5.3 LUAL_BUFFERSIZE is a macro computed from sizeof and is thus not known at pre-processing time, so this does not work. Since Lua 5.1 is no longer supported, we can use luaL_prepbuffsize() which is available from Lua 5.2
author Kim Alvefur <zash@zash.se>
date Mon, 11 Jul 2022 17:11:38 +0200
parent 12575:1f6f05a98fcd
child 12976:a187600ec7d6
line wrap: on
line diff