mirror of
https://github.com/brunoos/luasec.git
synced 2025-02-22 19:42:47 +01:00
Fix variable shadowing
This commit is contained in:
parent
afb2d44b0e
commit
c9539bca86
@ -690,7 +690,7 @@ static int meth_exportkeyingmaterial(lua_State *L)
|
|||||||
const unsigned char *context = NULL;
|
const unsigned char *context = NULL;
|
||||||
|
|
||||||
if(!lua_isnoneornil(L, 4)) {
|
if(!lua_isnoneornil(L, 4)) {
|
||||||
const unsigned char *context = (unsigned char *)luaL_checklstring(L, 4, &contextlen);
|
context = (unsigned char *)luaL_checklstring(L, 4, &contextlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* temporary buffer memory-managed by Lua itself */
|
/* temporary buffer memory-managed by Lua itself */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user