From: Adam Borowski Date: Mon, 18 Jul 2022 13:50:34 +0000 (+0200) Subject: certs: make system keyring depend on x509 parser X-Git-Tag: v6.1-rc5~838 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e90886291c7cd89577bf11729b205cc0ed42fbec;p=platform%2Fkernel%2Flinux-starfive.git certs: make system keyring depend on x509 parser This code requires x509_load_certificate_list() to be built-in. Fixes: 60050ffe3d77 ("certs: Move load_certificate_list() to be with the asymmetric keys code") Reported-by: kernel test robot Reported-by: Steven Rostedt 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 Signed-off-by: Linus Torvalds --- diff --git a/certs/Kconfig b/certs/Kconfig index 4767557..bf9b511 100644 --- a/certs/Kconfig +++ b/certs/Kconfig @@ -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