diff options
| author | amelia squires <[email protected]> | 2025-04-14 14:03:08 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-04-14 14:03:08 -0500 |
| commit | dc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (patch) | |
| tree | 48c6107656e14cfbbcbb49424fc3454de850a5db /src/crypto.h | |
| parent | 9c3eea30aeb3c13b6df2288fbd086756a217a04b (diff) | |
config change, local support, overall fixes
Diffstat (limited to 'src/crypto.h')
| -rw-r--r-- | src/crypto.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/crypto.h b/src/crypto.h index bfc3b57..b7f342e 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -32,6 +32,8 @@ #include "encode/base64.h"
#include "encode/baseN.h"
+#include "config.h"
+
uint8_t rotl8(uint8_t, uint8_t);
uint16_t rotl16(uint16_t, uint16_t);
unsigned rotl32(unsigned, unsigned);
@@ -93,7 +95,7 @@ int _##luaname##_common_hash(lua_State* L){\ *a = initf;\
int ini = lua_gettop(L);\
lua_newtable(L);\
- luaI_tsetlud(L, LUA_REGISTRYINDEX, "__", lua_topointer(L, ud));\
+ luaI_tsetlud(L, LUA_REGISTRYINDEX, "__", (void*)lua_topointer(L, ud));\
int i;\
for(i = ud; i != ini; i++) luaI_tsetv(L, ini + 1, lua_topointer(L, i), i);\
lua_common_hash_meta_def(luaname);\
@@ -176,3 +178,6 @@ static const luaL_Reg crypto_function_list [] = { {NULL,NULL}
};
+static struct config crypto_config[] = {
+ {.type = c_none}
+};
|
