2015-05-05 10:12:49 +00:00
|
|
|
--- a/lib/vtls/polarssl.c
|
|
|
|
+++ b/lib/vtls/polarssl.c
|
2015-07-03 23:21:01 +00:00
|
|
|
@@ -592,7 +592,7 @@ void Curl_polarssl_session_free(void *pt
|
2015-05-05 10:12:49 +00:00
|
|
|
|
|
|
|
size_t Curl_polarssl_version(char *buffer, size_t size)
|
|
|
|
{
|
|
|
|
- unsigned int version = version_get_number();
|
|
|
|
+ unsigned int version = POLARSSL_VERSION_NUMBER;
|
2015-07-03 23:21:01 +00:00
|
|
|
return snprintf(buffer, size, "%s/%d.%d.%d",
|
|
|
|
version >= 0x01030A00?"mbedTLS":"PolarSSL",
|
|
|
|
version>>24, (version>>16)&0xff, (version>>8)&0xff);
|