Software /
code /
prosody
Comparison
util-src/compat.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 | 9561:cfc7b2f7251e |
child | 12976:a187600ec7d6 |
comparison
equal
deleted
inserted
replaced
12714:82bca7191f13 | 12715:5dd00f806e32 |
---|