crypto: algboss - compile out test-related code when tests disabled
authorEric Biggers <ebiggers@google.com>
Mon, 14 Nov 2022 00:12:38 +0000 (16:12 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Nov 2022 09:39:18 +0000 (17:39 +0800)
commit441cb1b730006bd2d636f72dc7f6e11a8a0ecce5
tree7cccd48112609553462e96a2a186aa16d020c5bb
parent790c4c9f532318e3fe8c6f0b498072abc80e1195
crypto: algboss - compile out test-related code when tests disabled

When CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is set, the code in algboss.c
that handles CRYPTO_MSG_ALG_REGISTER is unnecessary, so make it be
compiled out.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algboss.c