aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cryptobox.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 18:07:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 18:07:11 +0100
commita014c2274bf178774697ce2a2b83a02bf6a3ac1c (patch)
tree84e6a626206973162fc8a633d98d510ea4d59c37 /src/lua/lua_cryptobox.c
parent90fa147ca70698661da0cce271d6ac0982a92c37 (diff)
downloadrspamd-a014c2274bf178774697ce2a2b83a02bf6a3ac1c.tar.gz
rspamd-a014c2274bf178774697ce2a2b83a02bf6a3ac1c.zip
[Minor] Fix various cases in Lua API
Diffstat (limited to 'src/lua/lua_cryptobox.c')
-rw-r--r--src/lua/lua_cryptobox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_cryptobox.c b/src/lua/lua_cryptobox.c
index 300c33793..63608ed9a 100644
--- a/src/lua/lua_cryptobox.c
+++ b/src/lua/lua_cryptobox.c
@@ -1075,8 +1075,8 @@ lua_cryptobox_hash_create (lua_State *L)
/***
* @function rspamd_cryptobox_hash.create_specific(type, [string])
* Creates new hash context
- * @param {string} type type of signature
- * @param {string} data raw signature data
+ * @param {string} type type of hash (blake2, sha256, md5, sha512, mum, xxh64, xxh32, t1ha)
+ * @param {string} string initial data
* @return {cryptobox_hash} hash object
*/
static gint