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/chacha20poly1305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/zinc/chacha20poly1305.c') diff --git a/src/crypto/zinc/chacha20poly1305.c b/src/crypto/zinc/chacha20poly1305.c index 2d975c3..9860c3c 100644 --- a/src/crypto/zinc/chacha20poly1305.c +++ b/src/crypto/zinc/chacha20poly1305.c @@ -347,7 +347,7 @@ int __init chacha20poly1305_mod_init(void) static int __init mod_init(void) #endif { -#ifdef DEBUG +#ifdef CONFIG_ZINC_SELFTEST if (!chacha20poly1305_selftest()) return -ENOTRECOVERABLE; #endif -- cgit v1.2.3-59-g8ed1b