aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/keypair.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-26 15:50:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-26 15:50:43 +0000
commit0ef6505bca74bc57e6bb7346189d16ccf6edeab2 (patch)
tree0dcab2fc4f3f1d35a5c0d31723632dfbd2f4cf72 /src/libcryptobox/keypair.h
parent3e1e0ffe8fe4b054b61008a7c6e93470ba578224 (diff)
downloadrspamd-0ef6505bca74bc57e6bb7346189d16ccf6edeab2.tar.gz
rspamd-0ef6505bca74bc57e6bb7346189d16ccf6edeab2.zip
[Minor] Constify arguments
Diffstat (limited to 'src/libcryptobox/keypair.h')
-rw-r--r--src/libcryptobox/keypair.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/keypair.h b/src/libcryptobox/keypair.h
index b50bc84db..b24ecc9aa 100644
--- a/src/libcryptobox/keypair.h
+++ b/src/libcryptobox/keypair.h
@@ -258,7 +258,7 @@ gboolean rspamd_keypair_sign (struct rspamd_cryptobox_keypair *kp,
* @return TRUE if signature is valid
*/
gboolean rspamd_keypair_verify (struct rspamd_cryptobox_pubkey *pk,
- const void *data, gsize len, guchar *sig, gsize siglen,
+ const void *data, gsize len, const guchar *sig, gsize siglen,
GError **err);
/**