aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-05 10:00:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-05 10:00:49 +0000
commit98ed1103cfe7906356eeebcce7631494c524dfa7 (patch)
treee2e257ab647a0fff6dfc7522aa4f06a861d7ba3b
parentfcc2ed3b17b90e925ddcb69f526c36fe35887e5a (diff)
downloadmaster-187ad058-98ed1103cfe7906356eeebcce7631494c524dfa7.tar.gz
master-187ad058-98ed1103cfe7906356eeebcce7631494c524dfa7.tar.bz2
master-187ad058-98ed1103cfe7906356eeebcce7631494c524dfa7.zip
polarssl: disable runtime version checks to save some space
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45607 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libs/polarssl/patches/200-reduce_config.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libs/polarssl/patches/200-reduce_config.patch b/package/libs/polarssl/patches/200-reduce_config.patch
index 9586e19318..aa1108eeb4 100644
--- a/package/libs/polarssl/patches/200-reduce_config.patch
+++ b/package/libs/polarssl/patches/200-reduce_config.patch
@@ -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