curl: update curl to version 7.43.0
[openwrt.git] / package / network / utils / curl / patches / 310-polarssl-disable-runtime-version-check.patch
1 --- a/lib/vtls/polarssl.c
2 +++ b/lib/vtls/polarssl.c
3 @@ -592,7 +592,7 @@ void Curl_polarssl_session_free(void *pt
4  
5  size_t Curl_polarssl_version(char *buffer, size_t size)
6  {
7 -  unsigned int version = version_get_number();
8 +  unsigned int version = POLARSSL_VERSION_NUMBER;
9    return snprintf(buffer, size, "%s/%d.%d.%d",
10                    version >= 0x01030A00?"mbedTLS":"PolarSSL",
11                    version>>24, (version>>16)&0xff, (version>>8)&0xff);