summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/tls-crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-nixio/src/tls-crypto.c')
-rw-r--r--libs/luci-lib-nixio/src/tls-crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/luci-lib-nixio/src/tls-crypto.c b/libs/luci-lib-nixio/src/tls-crypto.c
index 714ec4e60c..1d4945c8c8 100644
--- a/libs/luci-lib-nixio/src/tls-crypto.c
+++ b/libs/luci-lib-nixio/src/tls-crypto.c
@@ -154,14 +154,14 @@ static int nixio_crypto_hash__tostring(lua_State *L) {
/* module table */
-static const luaL_reg R[] = {
+static const luaL_Reg R[] = {
{"hash", nixio_crypto_hash},
{"hmac", nixio_crypto_hmac},
{NULL, NULL}
};
/* hash table */
-static const luaL_reg M[] = {
+static const luaL_Reg M[] = {
{"update", nixio_crypto_hash_update},
{"final", nixio_crypto_hash_final},
{"__gc", nixio_crypto_hash__gc},