[openwrt/openwrt] uboot-mediatek: drop build without OpenSSL fix

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 18 18:59:51 PDT 2025


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/bbd3db4c573c2475bcc568fa5e77f9fca7098881

commit bbd3db4c573c2475bcc568fa5e77f9fca7098881
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Thu Jul 10 19:12:22 2025 +0800

    uboot-mediatek: drop build without OpenSSL fix
    
    The build error has been fixed by the upstream commit:
    03e598263e38 ("tools: fix build without LIBCRYPTO support")
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
---
 .../patches/130-fix-mkimage-host-build.patch       | 24 ----------------------
 1 file changed, 24 deletions(-)

diff --git a/package/boot/uboot-mediatek/patches/130-fix-mkimage-host-build.patch b/package/boot/uboot-mediatek/patches/130-fix-mkimage-host-build.patch
deleted file mode 100644
index aeff6c8cbe..0000000000
--- a/package/boot/uboot-mediatek/patches/130-fix-mkimage-host-build.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/tools/image-host.c
-+++ b/tools/image-host.c
-@@ -1189,6 +1189,7 @@ static int fit_config_add_verification_d
-  * 2) get public key (X509_get_pubkey)
-  * 3) provide der format (d2i_RSAPublicKey)
-  */
-+#ifdef CONFIG_TOOLS_LIBCRYPTO
- static int read_pub_key(const char *keydir, const void *name,
- 			unsigned char **pubkey, int *pubkey_len)
- {
-@@ -1242,6 +1243,13 @@ err_cert:
- 	fclose(f);
- 	return ret;
- }
-+#else
-+static int read_pub_key(const char *keydir, const void *name,
-+			unsigned char **pubkey, int *pubkey_len)
-+{
-+	return -ENOSYS;
-+}
-+#endif
- 
- int fit_pre_load_data(const char *keydir, void *keydest, void *fit)
- {




More information about the lede-commits mailing list