mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
3e779d0564
Update the OpenVPN package to 2.7.4 For changes, see: https://github.com/OpenVPN/openvpn/blob/v2.7.4/Changes.rst Signed-off-by: Sander van Deijck <sander@vandeijck.com>
16 lines
490 B
Diff
16 lines
490 B
Diff
--- a/src/openvpn/ssl_mbedtls.c
|
|
+++ b/src/openvpn/ssl_mbedtls.c
|
|
@@ -1579,11 +1579,7 @@ show_available_curves(void)
|
|
const char *
|
|
get_ssl_library_version(void)
|
|
{
|
|
- static char mbedtls_version[30];
|
|
- unsigned int pv = mbedtls_version_get_number();
|
|
- snprintf(mbedtls_version, sizeof(mbedtls_version), "mbed TLS %d.%d.%d", (pv >> 24) & 0xff,
|
|
- (pv >> 16) & 0xff, (pv >> 8) & 0xff);
|
|
- return mbedtls_version;
|
|
+ return "mbed TLS " MBEDTLS_VERSION_STRING;
|
|
}
|
|
|
|
void
|