[RFC PATCH 08/12] KEYS: Make the system trusted keyring depend on the asymmetric key type [ver #2]

From: David Howells
Date: Fri Mar 04 2016 - 10:01:33 EST


Make the system trusted keyring depend on the asymmetric key type as
there's not a lot of point having it if you can't then load asymmetric keys
onto it.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

certs/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/certs/Kconfig b/certs/Kconfig
index f0f8a4433685..743d480f5f6f 100644
--- a/certs/Kconfig
+++ b/certs/Kconfig
@@ -17,6 +17,7 @@ config MODULE_SIG_KEY
config SYSTEM_TRUSTED_KEYRING
bool "Provide system-wide ring of trusted keys"
depends on KEYS
+ depends on ASYMMETRIC_KEY_TYPE
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