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