[Skiboot] [PATCH] libstb: Fix build in OpenSSL 1.1
Russell Currey
ruscur at russell.cc
Thu May 18 16:47:55 AEST 2017
On Thu, 2017-05-18 at 16:45 +1000, Stewart Smith wrote:
> Russell Currey <ruscur at russell.cc> writes:
> > OpenSSL has some API changes which causes a build break in libstb.
> > Specifically, directly accessing some members of a signature now requires
> > using
> > a helper.
> >
> > This fixes things in OpenSSL 1.1 and has no effect on OpenSSL 1.0.
> >
> > The build failure was as follows:
> >
> > [ HOSTCC ] libstb/create-container.c
> > In file included from /usr/include/openssl/asn1.h:24:0,
> > from /usr/include/openssl/ec.h:30,
> > from libstb/create-container.c:36:
> > libstb/create-container.c: In function ‘getSigRaw’:
> > libstb/create-container.c:104:31: error: dereferencing pointer to incomplete
> > type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
> > rlen = BN_num_bytes(signature->r);
> > ^
> >
> > Signed-off-by: Russell Currey <ruscur at russell.cc>
>
> Sweet - this fixes the last build failure on fedora-rawhide in travis!
The joys of being an Arch user, I hit this before everyone else :)
>
> Merged to master as of 40cf5a391a80a75f8827d2427e49a92e73871b00
>
More information about the Skiboot
mailing list