diff options
-rw-r--r-- | src/libcryptobox/keypair.c | 2 | ||||
-rw-r--r-- | src/libcryptobox/keypair.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcryptobox/keypair.c b/src/libcryptobox/keypair.c index 355654ffc..98401e10f 100644 --- a/src/libcryptobox/keypair.c +++ b/src/libcryptobox/keypair.c @@ -854,7 +854,7 @@ rspamd_keypair_sign (struct rspamd_cryptobox_keypair *kp, 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) { guint pklen; 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); /** |