Skip to content
Snippets Groups Projects
Commit 5533a67e authored by Felix Fietkau's avatar Felix Fietkau
Browse files

openvpn: replace polarssl run-time version check with a compile-time one


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 45608
parent 34cacae2
No related branches found
No related tags found
No related merge requests found
--- a/src/openvpn/ssl_polarssl.c
+++ b/src/openvpn/ssl_polarssl.c
@@ -1119,7 +1119,7 @@ const char *
get_ssl_library_version(void)
{
static char polar_version[30];
- unsigned int pv = version_get_number();
+ unsigned int pv = POLARSSL_VERSION_NUMBER;
sprintf( polar_version, "PolarSSL %d.%d.%d",
(pv>>24)&0xff, (pv>>16)&0xff, (pv>>8)&0xff );
return polar_version;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment