scripts: imx-image: fix build with OpenSSL < 1.1.0
When adding support for OpenSSL 1.1.x it was missed that EVP_PKEY_get0_RSA
is only available with that version. Earlier versions don't provide a fully
equivalent function, so add it to the compatibility helpers.

Fixes: 542a50d4eb (scripts: imx-image: fix build with OpenSSL 1.1.x)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 706671e commit 113677818502a071aeaddffd0b64dce3dcab220d
@Lucas Stach Lucas Stach authored on 6 Dec 2018
Sascha Hauer committed on 7 Dec 2018
Showing 1 changed file
View
scripts/imx/imx-image.c