From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle van der Waa Date: Tue, 14 Feb 2017 23:14:20 +0100 Subject: [U-Boot] [PATCH 1/2] rsa: Fix build with OpenSSL 1.1.x In-Reply-To: References: <20170213090037.29223-1-jelle@vdwaa.nl> Message-ID: <20170214221419.GA3409@gmail.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 02/14/17 at 12:43pm, Peter Robinson wrote: > On Mon, Feb 13, 2017 at 9:57 AM, Peter Robinson wrote: > > On Mon, Feb 13, 2017 at 9:00 AM, Jelle van der Waa wrote: > >> The rsa_st struct has been made opaque in 1.1.x, add forward compatible > >> code to access the n, e, d members of rsa_struct. > >> > >> EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be > >> called to reinitialise an already created structure. > > > > You can add my tested by. Built on Fedora 26 with 1.1.0d. gcc 7 etc. > > Although it needs to be updated for 2017.03rc2 for tools/kwbimage.c as > it now supports secure boot and I get the following errors on build: I've created a patch for it here. I'll send it to the list tommorow http://vps.vdwaa.nl/~jelle/0001-tools-kwbimage-fix-build-with-OpenSSL-1.1.x.patch -- Jelle van der Waa