summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/chacha20poly1305.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/zinc/chacha20poly1305.c')
-rw-r--r--src/crypto/zinc/chacha20poly1305.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/chacha20poly1305.c b/src/crypto/zinc/chacha20poly1305.c
index 9860c3c..59f1d00 100644
--- a/src/crypto/zinc/chacha20poly1305.c
+++ b/src/crypto/zinc/chacha20poly1305.c
@@ -348,7 +348,7 @@ static int __init mod_init(void)
#endif
{
#ifdef CONFIG_ZINC_SELFTEST
- if (!chacha20poly1305_selftest())
+ if (WARN_ON(!chacha20poly1305_selftest()))
return -ENOTRECOVERABLE;
#endif
return 0;