uboot-mvebu: add OpenSSL compat patches
authorMarko Ratkaj <marko.ratkaj@sartura.hr>
Mon, 25 Sep 2017 11:22:20 +0000 (13:22 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 25 Sep 2017 21:08:33 +0000 (23:08 +0200)
commit56348c95e95bac5af77ee2825fe595c8383fd834
tree18a49648e42280198b8fbaa3c5ec19a1b6c099ca
parent49e6e9ca399e2bcbc5e3daf02319d2c846842fa1
uboot-mvebu: add OpenSSL compat patches

Fixes the following build issue: "undefined reference to `EVP_MD_CTX_create'"

From: Jelle van der Waa <jelle@vdwaa.nl>

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: Marko Ratkaj <marko.ratkaj@sartura.hr>
package/boot/uboot-mvebu/patches/0011-rsa-Fix-build-with-OpenSSL-1.1.x.patch [new file with mode: 0644]
package/boot/uboot-mvebu/patches/0012-tools-kwbimage-fix-build-with-OpenSSL-1.1.x.patch [new file with mode: 0644]