]> 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)
commita5edf7a6a9c1cbc9595914107d8faa51518958e6
treea6ad7d48d0b8ad3f59a04e43ca4445a62a364c97
parentbefb60f1e75b05b17302f01851fa600b94b2c3b5
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