Skip to content

Commit e908862

Browse files
kilobytetorvalds
authored andcommitted
certs: make system keyring depend on x509 parser
This code requires x509_load_certificate_list() to be built-in. Fixes: 60050ff ("certs: Move load_certificate_list() to be with the asymmetric keys code") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Steven Rostedt <rostedt@goodmis.org> Link: https://lore.kernel.org/all/202206221515.DqpUuvbQ-lkp@intel.com/ Link: https://lore.kernel.org/all/20220712104554.408dbf42@gandalf.local.home/ Signed-off-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent af2c9ac commit e908862

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

certs/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ config SYSTEM_TRUSTED_KEYRING
4343
bool "Provide system-wide ring of trusted keys"
4444
depends on KEYS
4545
depends on ASYMMETRIC_KEY_TYPE
46+
depends on X509_CERTIFICATE_PARSER
4647
help
4748
Provide a system keyring to which trusted keys can be added. Keys in
4849
the keyring are considered to be trusted. Keys may be added at will

0 commit comments

Comments
 (0)