[Skiboot] [PATCH] libstb: Fix build in OpenSSL 1.1

Stewart Smith stewart at linux.vnet.ibm.com
Thu May 18 16:45:15 AEST 2017

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!

Merged to master as of 40cf5a391a80a75f8827d2427e49a92e73871b00

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list