aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/map.c')
-rw-r--r--src/libutil/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c
index 577933c25..2873b76f6 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -150,7 +150,7 @@ rspamd_map_check_sig_pk_mem (const guchar *sig,
ret = FALSE;
}
- if (ret && !rspamd_cryptobox_verify (sig, input, inlen,
+ if (ret && !rspamd_cryptobox_verify (sig, siglen, input, inlen,
rspamd_pubkey_get_pk (pk, NULL), RSPAMD_CRYPTOBOX_MODE_25519)) {
msg_err_map ("can't verify signature for %s: incorrect signature", map->name);