aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cryptobox.c
diff options
context:
space:
mode:
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 */