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 <[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]>
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)