aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Borowski <[email protected]>2022-07-18 15:50:34 +0200
committerLinus Torvalds <[email protected]>2022-07-24 12:53:55 -0700
commite90886291c7cd89577bf11729b205cc0ed42fbec (patch)
tree35648fae6537b5cde948f495691f80ce67b1949c
parentaf2c9ac24019ece9281e606662e5c78fa67f5930 (diff)
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 <[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]>
-rw-r--r--certs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/certs/Kconfig b/certs/Kconfig
index 476755703cf8..bf9b511573d7 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