Skip to content

Commit

Permalink
crypto: api - Export crypto_boot_test_finished
Browse files Browse the repository at this point in the history
We need to export crypto_boot_test_finished in case api.c is
built-in while algapi.c is built as a module.

Fixes: adad556 ("crypto: api - Fix built-in testing dependency failures")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Tested-by: Stephen Rothwell <[email protected]> # ppc32 build
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
herbertx committed Oct 1, 2021
1 parent 6e96dbe commit e42dff4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e42dff4

Please sign in to comment.