Software /
code /
prosody
Comparison
util/startup.lua @ 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 | 12553:cc0ec0277813 |
child | 12779:f0474d40364c |
comparison
equal
deleted
inserted
replaced
12714:82bca7191f13 | 12715:5dd00f806e32 |
---|