summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/curve25519/curve25519.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/zinc/curve25519/curve25519.c')
-rw-r--r--src/crypto/zinc/curve25519/curve25519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/curve25519/curve25519.c b/src/crypto/zinc/curve25519/curve25519.c
index 6b1b18e..87fe860 100644
--- a/src/crypto/zinc/curve25519/curve25519.c
+++ b/src/crypto/zinc/curve25519/curve25519.c
@@ -99,7 +99,7 @@ static int __init mod_init(void)
if (!nosimd)
curve25519_fpu_init();
#ifdef CONFIG_ZINC_SELFTEST
- if (!curve25519_selftest())
+ if (WARN_ON(!curve25519_selftest()))
return -ENOTRECOVERABLE;
#endif
return 0;