]> git.baikalelectronics.ru Git - uboot.git/commit
rsa: Fix build with OpenSSL 1.1.x
authorJelle van der Waa <jelle@vdwaa.nl>
Mon, 8 May 2017 19:31:19 +0000 (21:31 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:19 +0000 (08:37 -0400)
commit3047e9dda396940cdbaefd7e34f3df037a520808
treeac818947746fcaebaa409ea0503c675ef176fdc3
parent0258e512e97388e34e5ed38bfba035afe68555f9
rsa: 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.
lib/rsa/rsa-sign.c