Author: nbd
Date: 2015-05-05 12:00:49 +0200 (Tue, 05 May 2015)
New Revision: 45607

Modified:
   trunk/package/libs/polarssl/patches/200-reduce_config.patch
Log:
polarssl: disable runtime version checks to save some space

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

Modified: trunk/package/libs/polarssl/patches/200-reduce_config.patch
===================================================================
--- trunk/package/libs/polarssl/patches/200-reduce_config.patch 2015-05-05 
10:00:36 UTC (rev 45606)
+++ trunk/package/libs/polarssl/patches/200-reduce_config.patch 2015-05-05 
10:00:49 UTC (rev 45607)
@@ -100,6 +100,16 @@
  
  /**
   * \def POLARSSL_SSL_AEAD_RANDOM_IV
+@@ -1078,8 +1078,8 @@
+  * Requires: POLARSSL_VERSION_C
+  *
+  * Comment this to disable run-time checking and save ROM space
+- */
+ #define POLARSSL_VERSION_FEATURES
++ */
+ 
+ /**
+  * \def POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3
 @@ -1395,8 +1395,8 @@
   *      TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384
   *      TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256
@@ -220,6 +230,16 @@
  
  /**
   * \def POLARSSL_VERSION_C
+@@ -2075,8 +2075,8 @@
+  * Module:  library/version.c
+  *
+  * This module provides run-time version information.
+- */
+ #define POLARSSL_VERSION_C
++ */
+ 
+ /**
+  * \def POLARSSL_X509_USE_C
 @@ -2185,8 +2185,8 @@
   *
   * Module:  library/xtea.c
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to