]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: Kconfig - allow tests to be disabled when manager is disabled
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 17 Jan 2020 11:01:36 +0000 (12:01 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Feb 2020 09:00:57 +0000 (17:00 +0800)
commit28f8a6b5f4e895060111248219cf8e5abb5c9acc
treea6ad7d48d0b8ad3f59a04e43ca4445a62a364c97
parent28c698bc321887801abb59dcc49af9129d09e8e7
crypto: Kconfig - allow tests to be disabled when manager is disabled

The library code uses CRYPTO_MANAGER_DISABLE_TESTS to conditionalize its
tests, but the library code can also exist without CRYPTO_MANAGER. That
means on minimal configs, the test code winds up being built with no way
to disable it.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig