]> Git Repo - J-linux.git/commitdiff
certs: make system keyring depend on x509 parser
authorAdam Borowski <[email protected]>
Mon, 18 Jul 2022 13:50:34 +0000 (15:50 +0200)
committerLinus Torvalds <[email protected]>
Sun, 24 Jul 2022 19:53:55 +0000 (12:53 -0700)
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]>
certs/Kconfig

index 476755703cf8b44c9c12425f7b347409baef7170..bf9b511573d75135182a3f15711d617c5e335e38 100644 (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
This page took 0.049749 seconds and 4 git commands to generate.