Skip to content

Commit c6ce9c5

Browse files
committed
crypto: api - Move cryptomgr soft dependency into algapi
The soft dependency on cryptomgr is only needed in algapi because if algapi isn't present then no algorithms can be loaded. This also fixes the case where api is built-in but algapi is built as a module as the soft dependency would otherwise get lost. Fixes: 8ab23d5 ("crypto: api - Add softdep on cryptomgr") Reported-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 47307c3 commit c6ce9c5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

crypto/algapi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,3 +1324,4 @@ module_exit(crypto_algapi_exit);
13241324

13251325
MODULE_LICENSE("GPL");
13261326
MODULE_DESCRIPTION("Cryptographic algorithms API");
1327+
MODULE_SOFTDEP("pre: cryptomgr");

crypto/api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,4 +643,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done);
643643

644644
MODULE_DESCRIPTION("Cryptographic core API");
645645
MODULE_LICENSE("GPL");
646-
MODULE_SOFTDEP("pre: cryptomgr");

0 commit comments

Comments
 (0)