]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwbimage fix build with OpenSSL 1.1.x
authorJelle van der Waa <jelle@vdwaa.nl>
Mon, 8 May 2017 19:31:20 +0000 (21:31 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:20 +0000 (08:37 -0400)
commit680094feb703d45a84ad65ae85eabcb6053c30a6
tree73b2f2b973c048bf87f0dfd8d318c26bb36a817e
parent3047e9dda396940cdbaefd7e34f3df037a520808
tools: kwbimage fix build with OpenSSL 1.1.x

The rsa_st struct has been made opaque in 1.1.x, add forward compatible
code to access the n, e, d members of rsa_struct.

EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be
called to reinitialise an already created structure.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
tools/kwbimage.c