2016-12-30 02:53:03 +00:00
|
|
|
--- a/lib/vtls/mbedtls.c
|
|
|
|
+++ b/lib/vtls/mbedtls.c
|
2018-10-31 21:58:54 +00:00
|
|
|
@@ -811,7 +811,7 @@ static void Curl_mbedtls_session_free(vo
|
2016-12-30 02:53:03 +00:00
|
|
|
|
2017-10-29 09:32:42 +00:00
|
|
|
static size_t Curl_mbedtls_version(char *buffer, size_t size)
|
2016-12-30 02:53:03 +00:00
|
|
|
{
|
|
|
|
- unsigned int version = mbedtls_version_get_number();
|
|
|
|
+ unsigned int version = MBEDTLS_VERSION_NUMBER;
|
2018-05-16 12:09:48 +00:00
|
|
|
return snprintf(buffer, size, "mbedTLS/%u.%u.%u", version>>24,
|
2016-12-30 02:53:03 +00:00
|
|
|
(version>>16)&0xff, (version>>8)&0xff);
|
|
|
|
}
|