diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-12 08:34:50 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-12 08:34:50 -0500 |
commit | 547d3dd28a46a18d59e00a153c8becca8d4e8cf9 (patch) | |
tree | 79a09ba118b2b4d3001bfd478206734d2727f4f7 /tools/image-host.c | |
parent | 2ee7a8ec6f1711abe9619fd8765edc16742be9de (diff) | |
parent | 2027e99e61aab6fd8b06e2d752e0e538cff26eb6 (diff) |
Merge branch '2024-01-12-assorted-fixes'
- Allow defconfigs to #include files (so we can construct a defconfig
from fragments), update phy-mtk-tphy binding, assorted test fixes,
allow building host tools without cryptographic libraries again,
android_ab bugfix, and make some SPL debugging cases easier.
Diffstat (limited to 'tools/image-host.c')
-rw-r--r-- | tools/image-host.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/image-host.c b/tools/image-host.c index ca4950312f..90bc9f905f 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -14,8 +14,10 @@ #include <image.h> #include <version.h> +#if CONFIG_IS_ENABLED(FIT_SIGNATURE) #include <openssl/pem.h> #include <openssl/evp.h> +#endif /** * fit_set_hash_value - set hash value in requested has node @@ -1131,6 +1133,7 @@ static int fit_config_add_verification_data(const char *keydir, return 0; } +#if CONFIG_IS_ENABLED(FIT_SIGNATURE) /* * 0) open file (open) * 1) read certificate (PEM_read_X509) @@ -1239,6 +1242,7 @@ int fit_pre_load_data(const char *keydir, void *keydest, void *fit) out: return ret; } +#endif int fit_cipher_data(const char *keydir, void *keydest, void *fit, const char *comment, int require_keys, |