* [PATCH] backports: add missed dependency
@ 2020-07-06 8:14 Oleksandr Suvorov
0 siblings, 0 replies; only message in thread
From: Oleksandr Suvorov @ 2020-07-06 8:14 UTC (permalink / raw)
To: hauke, mcgrof; +Cc: backports, Oleksandr Suvorov
verification/pkcs7_verify.c uses the hash_algo_name array that
is available in kernel exported names only if CRYPTO_HASH_INFO config
option enabled. Add this dependency to avoid getting late error
on loading compat.ko module [1].
[1]
---------------------------------
[ 12.645547] compat: Unknown symbol hash_algo_name (err 0)
---------------------------------
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---
backport/compat/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index 3af729a3..c9b311f5 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -149,7 +149,7 @@ config BPAUTO_SYSTEM_DATA_VERIFICATION
config BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION
bool
default y if BPAUTO_SYSTEM_DATA_VERIFICATION
- depends on KERNEL_4_7 || !SYSTEM_DATA_VERIFICATION
+ depends on (KERNEL_4_7 || !SYSTEM_DATA_VERIFICATION) && CRYPTO_HASH_INFO
select BPAUTO_ASN1_DECODER
select BPAUTO_PUBLIC_KEY
select BPAUTO_PKCS7
--
2.25.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-06 8:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 8:14 [PATCH] backports: add missed dependency Oleksandr Suvorov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.