curl: fix interface with mbedtls_sha256
authorRussell Senior <russell@personaltelco.net>
Fri, 16 Feb 2018 12:15:21 +0000 (04:15 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Feb 2018 11:29:23 +0000 (12:29 +0100)
commite05a6018fc8c9f9413bf88f2471d91a67b1d64d0
treea8e13b3ef8dbd40b2bf86f8ade40db101d1f0ddc
parent6be73c07dbd69d49493d69bbd7978ec3d89bef56
curl: fix interface with mbedtls_sha256

Between mbedtls 2.6.0 and 2.7.0, the void returning mbedtls_MODULE* functions
were deprecated in favor of functions returning an int error code.  Use
the new function mbedtls_sha256_ret().

Signed-off-by: Russell Senior <russell@personaltelco.net>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
package/network/utils/curl/patches/320-mbedtls_dont_use_deprecated_sha256_function.patch [new file with mode: 0644]