aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-28 15:16:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-28 15:16:56 +0100
commit0adfb2078c3654a4f14c1dab85b7745ad7f8dcce (patch)
tree7e76fa07ef425847b29dd61b49bb115bb7a579d9 /src/lua
parent845839e71caa234ab680d4ec09f5051b4d9615e3 (diff)
downloadrspamd-0adfb2078c3654a4f14c1dab85b7745ad7f8dcce.tar.gz
rspamd-0adfb2078c3654a4f14c1dab85b7745ad7f8dcce.zip
[Minor] Fix base64 encoding for signature
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_rsa.c b/src/lua/lua_rsa.c
index 57c815634..b7ccf8709 100644
--- a/src/lua/lua_rsa.c
+++ b/src/lua/lua_rsa.c
@@ -559,7 +559,7 @@ lua_rsa_signature_base64 (lua_State *L)
lua_pushnil (L);
}
- return 0;
+ return 1;
}
/**