diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-05 10:09:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-05 10:09:16 +0000 |
commit | 5533a67e3add712aff8a21448ba9e0b6ebb11df1 (patch) | |
tree | d66b49d2fbf8624409ad9b81208532a93f8355a6 | |
parent | 34cacae2b96091cf310834ad87c4458a99418aec (diff) | |
download | upstream-5533a67e3add712aff8a21448ba9e0b6ebb11df1.tar.gz upstream-5533a67e3add712aff8a21448ba9e0b6ebb11df1.tar.bz2 upstream-5533a67e3add712aff8a21448ba9e0b6ebb11df1.zip |
openvpn: replace polarssl run-time version check with a compile-time one
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45608
-rw-r--r-- | package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch b/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch new file mode 100644 index 0000000000..c97e9f26af --- /dev/null +++ b/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch @@ -0,0 +1,11 @@ +--- 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; |