summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2021-09-27 19:23:42 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-10-01 14:41:23 +0800
commite42dff467ee688fe6b5a083f1837d06e3b27d8c0 (patch)
tree8ad3facdfae59138d69c294e3983f51d82242bba /crypto
parent6e96dbe7c40a66a1dac3cdc8d29e9172d937a7b1 (diff)
downloadlinux-stable-e42dff467ee688fe6b5a083f1837d06e3b27d8c0.tar.gz
linux-stable-e42dff467ee688fe6b5a083f1837d06e3b27d8c0.tar.bz2
linux-stable-e42dff467ee688fe6b5a083f1837d06e3b27d8c0.zip
crypto: api - Export crypto_boot_test_finished
We need to export crypto_boot_test_finished in case api.c is built-in while algapi.c is built as a module. Fixes: adad556efcdd ("crypto: api - Fix built-in testing dependency failures") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # ppc32 build Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/api.c b/crypto/api.c
index 1cf1f03347cc..ee5991fe11f8 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -32,6 +32,7 @@ BLOCKING_NOTIFIER_HEAD(crypto_chain);
EXPORT_SYMBOL_GPL(crypto_chain);
DEFINE_STATIC_KEY_FALSE(crypto_boot_test_finished);
+EXPORT_SYMBOL_GPL(crypto_boot_test_finished);
static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);