summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-06-22 10:16:43 -0600
committerTom Rini <[email protected]>2025-06-22 10:16:43 -0600
commit1be8d14c85bdb4623262259d3fc61c32aca97660 (patch)
treeb7ddca3fd8a36a2df538478a341c02c1678445e7 /include
parent9d169ac9733b5c3f208921a1d82f4fa8ff708258 (diff)
parent1989eb65c50e2541373bc6657a85620ff0c6f573 (diff)
Merge patch series "rsa and fit_check_sign build fix for v2025.07-rc"
Shiji Yang <[email protected]> says: This patchset fixes some compilation errors that I caught in version v2025.07-rc4 and branch next. If they are acceptable, please apply them to the master branch. If anyone has a better way to fix these issues, it's fine to ignore this patchset. Link: https://lore.kernel.org/r/OSBPR01MB16702ED24460D23A7ED63440BC7DA@OSBPR01MB1670.jpnprd01.prod.outlook.com
Diffstat (limited to 'include')
-rw-r--r--include/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index c1db8383459..5f4e23a0ae9 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1688,7 +1688,7 @@ struct sig_header_s {
*/
int image_pre_load(ulong addr);
-#if defined(USE_HOSTCC)
+#if defined(USE_HOSTCC) && CONFIG_IS_ENABLED(LIBCRYPTO)
/**
* rsa_verify_openssl() - Verify a signature against some data with openssl API
*