From a91f2d36b5819c4f76d513ffbc5e3344b796b5f4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 25 Sep 2018 23:01:32 +0200 Subject: crypto: rename DEBUG to SELFTEST Also we make selftest errors of type err, so that they're obvious in dmesg. --- src/crypto/zinc/poly1305/poly1305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/zinc/poly1305') diff --git a/src/crypto/zinc/poly1305/poly1305.c b/src/crypto/zinc/poly1305/poly1305.c index f64b501..d094ca7 100644 --- a/src/crypto/zinc/poly1305/poly1305.c +++ b/src/crypto/zinc/poly1305/poly1305.c @@ -146,7 +146,7 @@ static int __init mod_init(void) { if (!nosimd) poly1305_fpu_init(); -#ifdef DEBUG +#ifdef CONFIG_ZINC_SELFTEST if (!poly1305_selftest()) return -ENOTRECOVERABLE; #endif -- cgit v1.2.3-59-g8ed1b