diff options
author | Michael Heimpold <mhei@heimpold.de> | 2018-10-28 15:26:08 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-11-01 17:16:52 +0100 |
commit | 79b766d07d56d22536120de2066e2e203ed01eb0 (patch) | |
tree | 8cf9a2677245a173ce399f44422418b47e5ecc94 /package/boot/uboot-mxs/patches/002-tools-mxsimage-Support-building-with-LibreSSL.patch | |
parent | b0a2e60793f194a7a33e93a12f9ca5f2ae410529 (diff) | |
download | upstream-79b766d07d56d22536120de2066e2e203ed01eb0.tar.gz upstream-79b766d07d56d22536120de2066e2e203ed01eb0.tar.bz2 upstream-79b766d07d56d22536120de2066e2e203ed01eb0.zip |
uboot-mxs: bump to v2018.09
Also update the U-Boot BSP patch for I2SE Duckbill devices
and remove upstreamed patch for LibreSSL support.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'package/boot/uboot-mxs/patches/002-tools-mxsimage-Support-building-with-LibreSSL.patch')
-rw-r--r-- | package/boot/uboot-mxs/patches/002-tools-mxsimage-Support-building-with-LibreSSL.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/package/boot/uboot-mxs/patches/002-tools-mxsimage-Support-building-with-LibreSSL.patch b/package/boot/uboot-mxs/patches/002-tools-mxsimage-Support-building-with-LibreSSL.patch deleted file mode 100644 index aa7285ebce..0000000000 --- a/package/boot/uboot-mxs/patches/002-tools-mxsimage-Support-building-with-LibreSSL.patch +++ /dev/null @@ -1,36 +0,0 @@ -From c5b0bca4c3ca5c3d1d8ee99fdbf3b494a3986dbd Mon Sep 17 00:00:00 2001 -From: Hauke Mehrtens <hauke@hauke-m.de> -Date: Sun, 18 Mar 2018 16:03:47 +0100 -Subject: [PATCH] tools/mxsimage: Support building with LibreSSL - -The mxsimage utility fails to compile against LibreSSL version < 2.7.0 -because LibreSSL says it is OpenSSL 2.0, but it does not support the -complete OpenSSL 1.1 interface. - -LibreSSL defines OPENSSL_VERSION_NUMBER with 0x20000000L and therefor -claims to have an API compatible with OpenSSL 2.0, but it implements -EVP_MD_CTX_new(), EVP_MD_CTX_free() and EVP_CIPHER_CTX_reset() only -starting with version 2.7.0, which is not yet released. OpenSSL -implements this function since version 1.1.0. - -This commit will activate the compatibility code meant for -OpenSSL < 1.1.0 also for LibreSSL version < 2.7.0. - -Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> -Reviewed-by: Jonathan Gray <jsg@jsg.id.au> ---- - tools/mxsimage.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/tools/mxsimage.c -+++ b/tools/mxsimage.c -@@ -26,7 +26,8 @@ - * OpenSSL 1.1.0 and newer compatibility functions: - * https://wiki.openssl.org/index.php/1.1_API_Changes - */ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - static void *OPENSSL_zalloc(size_t num) - { - void *ret = OPENSSL_malloc(num); |