Skip to content
Commit 05d3884b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mimi Zohar
Browse files

evm: EVM_LOAD_X509 depends on EVM



The newly added EVM_LOAD_X509 code can be configured even if
CONFIG_EVM is disabled, but that causes a link error:

security/built-in.o: In function `integrity_load_keys':
digsig_asymmetric.c:(.init.text+0x400): undefined reference to `evm_load_x509'

This adds a Kconfig dependency to ensure it is only enabled when
CONFIG_EVM is set as well.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 2ce523eb

 ("evm: load x509 certificate from the kernel")
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent 523b74b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment