Author: nbd
Date: 2015-05-05 12:09:16 +0200 (Tue, 05 May 2015)
New Revision: 45608

Added:
   
trunk/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch
Log:
openvpn: replace polarssl run-time version check with a compile-time one

Signed-off-by: Felix Fietkau <[email protected]>

Added: 
trunk/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch
===================================================================
--- 
trunk/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch
                             (rev 0)
+++ 
trunk/package/network/services/openvpn/patches/130-polarssl-disable-runtime-version-check.patch
     2015-05-05 10:09:16 UTC (rev 45608)
@@ -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;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to