From: Tom Rini Date: Sat, 7 Apr 2018 09:24:35 -0400 Subject: [U-Boot] [U-Boot, v3] tools/mxsimage: Support building with LibreSSL In-Reply-To: <20180318150347.8669-1-hauke@hauke-m.de> References: <20180318150347.8669-1-hauke@hauke-m.de> Message-ID: <20180407132435.GW10996@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Mar 18, 2018 at 04:03:47PM +0100, Hauke Mehrtens wrote: > 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 > Reviewed-by: Jonathan Gray Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: