OSDN Git Service

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)
commit2343d1529aff8b552589f622c23932035ed7a05d
treea6ad7d48d0b8ad3f59a04e43ca4445a62a364c97
parent0bc81767c5bd9d005fae1099fb39eb3688370cb1
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