commit b66c829: [Minor] Fix description: rspamd_cryptobox_pubkey.create

Andrew Lewis nerf at judo.za.org
Fri Jul 17 09:49:09 UTC 2020


Author: Andrew Lewis
Date: 2020-07-15 15:45:59 +0200
URL: https://github.com/rspamd/rspamd/commit/b66c82923aefae0d2b50f40dbbb9681c47e00cb5 (refs/pull/3438/head)

[Minor] Fix description: rspamd_cryptobox_pubkey.create

---
 src/lua/lua_cryptobox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lua/lua_cryptobox.c b/src/lua/lua_cryptobox.c
index 85acde550..66d68413b 100644
--- a/src/lua/lua_cryptobox.c
+++ b/src/lua/lua_cryptobox.c
@@ -333,7 +333,7 @@ lua_cryptobox_pubkey_load (lua_State *L)
 
 /***
  * @function rspamd_cryptobox_pubkey.create(data[, type[, alg]])
- * Loads public key from base32 encoded file
+ * Loads public key from base32 encoded string
  * @param {base32 string} base32 string with the key
  * @param {string} type optional 'sign' or 'kex' for signing and encryption
  * @param {string} alg optional 'default' or 'nist' for curve25519/nistp256 keys


More information about the Commits mailing list