aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cryptobox.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-08 14:32:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-08 14:32:12 +0000
commit534c9aca14adf9819c2260132490331464d742a9 (patch)
treef3d79bbbd68328412dac2cfd290c60930687c645 /src/lua/lua_cryptobox.c
parentffaf7ab5639886a9a5493de8387d9a45c978c9cd (diff)
downloadrspamd-534c9aca14adf9819c2260132490331464d742a9.tar.gz
rspamd-534c9aca14adf9819c2260132490331464d742a9.zip
[Minor] Fix some meaningful compile warnings
Diffstat (limited to 'src/lua/lua_cryptobox.c')
-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 70f29fa91..2a5d9e7ee 100644
--- a/src/lua/lua_cryptobox.c
+++ b/src/lua/lua_cryptobox.c
@@ -1875,7 +1875,7 @@ lua_cryptobox_encrypt_cookie (lua_State *L)
}
if (cookie_len > sizeof (padded_cookie) - 1) {
- return luaL_error (L, "cookie is too long %d", (gint)padded_cookie);
+ return luaL_error (L, "cookie is too long %d", (gint)cookie_len);
}
/* Fill nonce */