diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-08-05 22:34:00 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-08-05 22:34:00 -0400 |
commit | 00ca28a507b215dcd121735f16764ea4173c4ff9 (patch) | |
tree | 44defaa98c6f5c570ee1ac167757e39f8d5d0e45 | |
parent | 326a6346ffb5b19eb593530d9d3096d409e46f62 (diff) |
crypto: testmgr - Default to no tests
On Thu, Aug 05, 2010 at 07:01:21PM -0700, Linus Torvalds wrote:
> On Thu, Aug 5, 2010 at 6:40 PM, Herbert Xu <herbert@gondor.hengli.com.au> wrote:
> >
> > -config CRYPTO_MANAGER_TESTS
> > - bool "Run algolithms' self-tests"
> > - default y
> > - depends on CRYPTO_MANAGER2
> > +config CRYPTO_MANAGER_DISABLE_TESTS
> > + bool "Disable run-time self tests"
> > + depends on CRYPTO_MANAGER2 && EMBEDDED
>
> Why do you still want to force-enable those tests? I was going to
> complain about the "default y" anyway, now I'm _really_ complaining,
> because you've now made it impossible to disable those tests. Why?
As requested, this patch sets the default to y and removes the
EMBEDDED dependency.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | crypto/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 6f5c50fdbbdd..e573077f1672 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -103,7 +103,8 @@ config CRYPTO_MANAGER2 | |||
103 | 103 | ||
104 | config CRYPTO_MANAGER_DISABLE_TESTS | 104 | config CRYPTO_MANAGER_DISABLE_TESTS |
105 | bool "Disable run-time self tests" | 105 | bool "Disable run-time self tests" |
106 | depends on CRYPTO_MANAGER2 && EMBEDDED | 106 | default y |
107 | depends on CRYPTO_MANAGER2 | ||
107 | help | 108 | help |
108 | Disable run-time self tests that normally take place at | 109 | Disable run-time self tests that normally take place at |
109 | algorithm registration. | 110 | algorithm registration. |