]> git.baikalelectronics.ru Git - uboot.git/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)
commit706ae3ca136164c47f9e140cc54d194ff661bc6b
treeee31da20dcc2ea8b51d61b09733a75623519fa4e
parent70eb010638d8185f4ea9c5b6933ae343fe3d9285
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