summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/rsa/rsa-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c
index 4a0418a75f1..b65fbe44007 100644
--- a/lib/rsa/rsa-verify.c
+++ b/lib/rsa/rsa-verify.c
@@ -570,7 +570,7 @@ int rsa_verify(struct image_sign_info *info,
uint8_t hash[info->crypto->key_len];
int ret;
-#ifdef USE_HOSTCC
+#if defined(USE_HOSTCC) && CONFIG_IS_ENABLED(LIBCRYPTO)
if (!info->fdt_blob)
return rsa_verify_openssl(info, region, region_count, sig, sig_len);
#endif