[U-Boot] [PATCH 1/2] rsa: Fix build with OpenSSL 1.1.x

Jelle van der Waa jelle at vdwaa.nl
Tue Feb 14 22:14:20 UTC 2017


On 02/14/17 at 12:43pm, Peter Robinson wrote:
> On Mon, Feb 13, 2017 at 9:57 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
> > On Mon, Feb 13, 2017 at 9:00 AM, Jelle van der Waa <jelle at vdwaa.nl> 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


More information about the U-Boot mailing list