certs: make system keyring depend on x509 parser

This code requires x509_load_certificate_list() to be built-in.

Fixes: 60050ffe3d ("certs: Move load_certificate_list() to be with the asymmetric keys code")
Reported-by: kernel test robot <[email protected]>
Reported-by: Steven Rostedt <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Adam Borowski <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Adam Borowski authored and Linus Torvalds committed 2022-07-24 12:53:55 -07:00
1 parent af2c9ac240
commit e90886291c
1 file changed
+1
+1
View File
@@ -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