summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-09 17:13:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-09 17:13:12 +0100
commitc2351037b581724ce6d6cbcf4da5a0115b87c8de (patch)
treed55bd57d8bda456308b21cba7827fb2e2fc272a0 /src/lua/lua_util.c
parentf5c0d7116e373fa48ab465e8d8dcae1ddaf44932 (diff)
downloadrspamd-c2351037b581724ce6d6cbcf4da5a0115b87c8de.tar.gz
rspamd-c2351037b581724ce6d6cbcf4da5a0115b87c8de.zip
[Feature] Support multiple base32 alphabets
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 91cc18800..e18bc3efb 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -1175,7 +1175,7 @@ lua_util_encode_base32 (lua_State *L)
lua_pushnil (L);
}
else {
- out = rspamd_encode_base32 (s, inlen);
+ out = rspamd_encode_base32 (s, inlen, RSPAMD_BASE32_DEFAULT);
if (out != NULL) {
t = lua_newuserdata (L, sizeof (*t));