diff options
author | Russell Currey <ruscur@russell.cc> | 2017-05-17 16:14:55 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-05-18 16:33:06 +1000 |
commit | 40cf5a391a80a75f8827d2427e49a92e73871b00 (patch) | |
tree | 4b3f6fce4efb0beae8421ae0ee44ca875091a13b /hw | |
parent | fa7aab4a0380f73b9a653cbfa3167d030376a107 (diff) | |
download | skiboot-40cf5a391a80a75f8827d2427e49a92e73871b00.zip skiboot-40cf5a391a80a75f8827d2427e49a92e73871b00.tar.gz skiboot-40cf5a391a80a75f8827d2427e49a92e73871b00.tar.bz2 |
libstb: Fix build in OpenSSL 1.1
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@russell.cc>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions