summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/keypair.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-05 17:02:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-05 17:02:58 +0100
commit5658e4bfd4045bf31b2ba9f4e2a31066dc252d67 (patch)
tree9b3bee9cf8a4823d497362db5f4a4e64c588e555 /src/libcryptobox/keypair.c
parent0d4bbf0f00d4278e1dc10f205884871f4666b544 (diff)
downloadrspamd-5658e4bfd4045bf31b2ba9f4e2a31066dc252d67.tar.gz
rspamd-5658e4bfd4045bf31b2ba9f4e2a31066dc252d67.zip
[Fix] Fix NIST signatures
Diffstat (limited to 'src/libcryptobox/keypair.c')
-rw-r--r--src/libcryptobox/keypair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/keypair.c b/src/libcryptobox/keypair.c
index 50e3614d9..21b497130 100644
--- a/src/libcryptobox/keypair.c
+++ b/src/libcryptobox/keypair.c
@@ -881,7 +881,7 @@ rspamd_keypair_verify (struct rspamd_cryptobox_pubkey *pk,
return FALSE;
}
- if (!rspamd_cryptobox_verify (sig, data, len,
+ if (!rspamd_cryptobox_verify (sig, siglen, data, len,
rspamd_cryptobox_pubkey_pk (pk, &pklen), pk->alg)) {
g_set_error (err, rspamd_keypair_quark (), EPERM,
"signature verification failed");