Re: [PATCH] crypto: testmgr - make extra tests depend on cryptomgr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 20, 2019 at 09:48:29AM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> The crypto self-tests are part of the "cryptomgr" module, which can
> technically be disabled (though it rarely is).  If you do so, currently
> you can still enable CRYPTO_MANAGER_EXTRA_TESTS, which doesn't make
> sense since in that case testmgr.c isn't compiled at all.  Fix it by
> making it CRYPTO_MANAGER_EXTRA_TESTS depend on CRYPTO_MANAGER2, like
> CRYPTO_MANAGER_DISABLE_TESTS already does.
> 
> Fixes: 5b2706a4d459 ("crypto: testmgr - introduce CONFIG_CRYPTO_MANAGER_EXTRA_TESTS")
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>  crypto/Kconfig | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux