aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-24 20:51:45 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-24 20:51:45 +0100
commit12519216c16359ca5ca4cf735a9612985e1cb9e7 (patch)
tree429171d04ae94fa5b6007c58a64e842abb5adc3d /src/lua
parentf40d6f8502561b84d71045378cab86cc4f462584 (diff)
downloadrspamd-12519216c16359ca5ca4cf735a9612985e1cb9e7.tar.gz
rspamd-12519216c16359ca5ca4cf735a9612985e1cb9e7.zip
[Fix] Fix types check and types usage in lua_cryptobox
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_cryptobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_cryptobox.c b/src/lua/lua_cryptobox.c
index 7a7f4419b..788f2e1df 100644
--- a/src/lua/lua_cryptobox.c
+++ b/src/lua/lua_cryptobox.c
@@ -1235,7 +1235,7 @@ lua_cryptobox_hash_create_keyed (lua_State *L)
}
if (s) {
- rspamd_cryptobox_hash_update (h, s, len);
+ rspamd_cryptobox_hash_update (h->content.h, s, len);
}
ph = lua_newuserdata (L, sizeof (void *));