2016-12-10 11:11:33 +00:00
|
|
|
--- a/src/openvpn/ssl_mbedtls.c
|
|
|
|
+++ b/src/openvpn/ssl_mbedtls.c
|
2020-04-17 15:34:42 +00:00
|
|
|
@@ -1415,7 +1415,7 @@ const char *
|
2016-12-10 11:11:33 +00:00
|
|
|
get_ssl_library_version(void)
|
|
|
|
{
|
|
|
|
static char mbedtls_version[30];
|
|
|
|
- unsigned int pv = mbedtls_version_get_number();
|
|
|
|
+ unsigned int pv = MBEDTLS_VERSION_NUMBER;
|
|
|
|
sprintf( mbedtls_version, "mbed TLS %d.%d.%d",
|
|
|
|
(pv>>24)&0xff, (pv>>16)&0xff, (pv>>8)&0xff );
|
|
|
|
return mbedtls_version;
|