aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm
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/rspamadm
parent0d4bbf0f00d4278e1dc10f205884871f4666b544 (diff)
downloadrspamd-5658e4bfd4045bf31b2ba9f4e2a31066dc252d67.tar.gz
rspamd-5658e4bfd4045bf31b2ba9f4e2a31066dc252d67.zip
[Fix] Fix NIST signatures
Diffstat (limited to 'src/rspamadm')
-rw-r--r--src/rspamadm/signtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/signtool.c b/src/rspamadm/signtool.c
index af8d05c96..eae55b8bd 100644
--- a/src/rspamadm/signtool.c
+++ b/src/rspamadm/signtool.c
@@ -447,7 +447,8 @@ rspamadm_verify_file (const gchar *fname, const guchar *pk)
exit (errno);
}
- ret = rspamd_cryptobox_verify (map_sig, map, st.st_size, pk, mode);
+ ret = rspamd_cryptobox_verify (map_sig, st_sig.st_size,
+ map, st.st_size, pk, mode);
munmap (map, st.st_size);
munmap (map_sig, st_sig.st_size);