aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/ed25519/ed25519.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/ed25519/ed25519.c')
-rw-r--r--src/libcryptobox/ed25519/ed25519.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcryptobox/ed25519/ed25519.c b/src/libcryptobox/ed25519/ed25519.c
index e5355a673..b022c16cc 100644
--- a/src/libcryptobox/ed25519/ed25519.c
+++ b/src/libcryptobox/ed25519/ed25519.c
@@ -269,7 +269,8 @@ ed25519_test (const ed25519_impl_t *impl)
impl->sign (sig, NULL, msg, strlen (test_vectors[i].message) / 2, joint_sk);
- if (memcmp (sig, expected, rspamd_cryptobox_signature_bytes ()) != 0) {
+ if (memcmp (sig, expected,
+ rspamd_cryptobox_signature_bytes (RSPAMD_CRYPTOBOX_MODE_25519)) != 0) {
return false;
}