Skip to content

Commit

Permalink
certs: make system keyring depend on x509 parser
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adam Borowski authored and Linus Torvalds committed Jul 24, 2022
1 parent af2c9ac commit e908862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions certs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ config SYSTEM_TRUSTED_KEYRING
bool "Provide system-wide ring of trusted keys"
depends on KEYS
depends on ASYMMETRIC_KEY_TYPE
depends on X509_CERTIFICATE_PARSER
help
Provide a system keyring to which trusted keys can be added. Keys in
the keyring are considered to be trusted. Keys may be added at will
Expand Down

0 comments on commit e908862

Please sign in to comment.