You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/network/utils/curl/patches/320-mbedtls_dont_use_deprec...

12 lines
388 B
Diff

--- a/lib/vtls/mbedtls.c
+++ b/lib/vtls/mbedtls.c
@@ -1029,7 +1029,7 @@ static void Curl_mbedtls_sha256sum(const
size_t sha256len UNUSED_PARAM)
{
(void)sha256len;
- mbedtls_sha256(input, inputlen, sha256sum, 0);
+ mbedtls_sha256_ret(input, inputlen, sha256sum, 0);
}
static void *Curl_mbedtls_get_internals(struct ssl_connect_data *connssl,