• David Howells's avatar
    KEYS: Make the system trusted keyring depend on the asymmetric key type · 99716b7c
    David Howells authored
    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.
    
    This requires the ASYMMETRIC_KEY_TYPE to be made a bool, not a tristate, as
    the Kconfig language doesn't then correctly force ASYMMETRIC_KEY_TYPE to
    'y' rather than 'm' if SYSTEM_TRUSTED_KEYRING is 'y'.
    
    Making SYSTEM_TRUSTED_KEYRING *select* ASYMMETRIC_KEY_TYPE instead doesn't
    work as the Kconfig interpreter then wrongly complains about dependency
    loops.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    99716b7c
Kconfig 2.1 KB