]> git.sur5r.net Git - u-boot/commit
tools: mxsimage: Fix build with OpenSSL 1.1.x
authorMarek Vasut <marex@denx.de>
Mon, 19 Dec 2016 14:27:50 +0000 (15:27 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Dec 2016 17:26:39 +0000 (12:26 -0500)
commit7bae13b7579a6bc42330427496330fe2a29cbd56
treeee31da20dcc2ea8b51d61b09733a75623519fa4e
parent5c5199349987b2f931f9ae57da62d7b304f9ee32
tools: mxsimage: Fix build with OpenSSL 1.1.x

The EVP_MD_CTX and EVP_CIPHER_CTX are made opaque since 1.1.x , so instead
of embedding them directly into struct sb_image_ctx and initializing them
using EVP_*_CTX_init(), we use pointers and allocate the crypto contexts
using EVP_*_CTX_new().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
tools/mxsimage.c