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