cert_tool: update for compatibility with OpenSSL v1.1
authorMichalis Pappas <mpappas@aminocom.com>
Fri, 6 Oct 2017 08:11:44 +0000 (16:11 +0800)
committerMichalis Pappas <mpappas@fastmail.fm>
Sun, 8 Oct 2017 06:32:32 +0000 (14:32 +0800)
commit742c4e1433162efd625bbecada2106a10ed7f46b
tree5a58043e8757e1b82309d1cba7312c6db32138f4
parentd9066b4248dbe88198ba5b6f6ed800d9fd8492f5
cert_tool: update for compatibility with OpenSSL v1.1

This patch fixes incompatibility issues that prevent building the cert_tool
with OpenSSL >= v1.1.0. The changes introduced are still backwards
compatible with OpenSSL v1.0.2.

Fixes arm-software/trusted-fw#521

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>
tools/cert_create/src/cert.c
tools/cert_create/src/ext.c
tools/cert_create/src/key.c
tools/cert_create/src/main.c