aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-09 17:46:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-09 17:46:25 +0100
commitb8a099632ffc5c8fd84fa44b058acc14d46a7a9b (patch)
tree0b29b2219e11ddc507836df1bdba1aa4dbfd9404 /src/lua/lua_util.c
parent1d56cbb68b103ccca36135a53d611d3e3fed4ec9 (diff)
downloadrspamd-b8a099632ffc5c8fd84fa44b058acc14d46a7a9b.tar.gz
rspamd-b8a099632ffc5c8fd84fa44b058acc14d46a7a9b.zip
[Feature] Add multiple base32 alphabets for decoding
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r--src/lua/lua_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index e18bc3efb..053cce864 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -1217,7 +1217,7 @@ lua_util_decode_base32 (lua_State *L)
if (s != NULL) {
t = lua_newuserdata (L, sizeof (*t));
rspamd_lua_setclass (L, "rspamd{text}", -1);
- t->start = rspamd_decode_base32 (s, inlen, &outlen);
+ t->start = rspamd_decode_base32 (s, inlen, &outlen, RSPAMD_BASE32_DEFAULT);
t->len = outlen;
t->flags = RSPAMD_TEXT_FLAG_OWN;
}