• Marek Vasut's avatar
    tools: mxsimage: Fix build with OpenSSL 1.1.x · 7bae13b7
    Marek Vasut authored
    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: default avatarMarek Vasut <marex@denx.de>
    Cc: Tom Rini <trini@konsulko.com>
    7bae13b7
mxsimage.c 50.3 KB