aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-05 10:00:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-05 10:00:36 +0000
commitfcc2ed3b17b90e925ddcb69f526c36fe35887e5a (patch)
tree6fcdaa176742cda8182bef85d98015f2bc1302fa /package/libs
parent6d8c43c6b663632c50ba97a743abdc134f0ece01 (diff)
downloadupstream-fcc2ed3b17b90e925ddcb69f526c36fe35887e5a.tar.gz
upstream-fcc2ed3b17b90e925ddcb69f526c36fe35887e5a.tar.bz2
upstream-fcc2ed3b17b90e925ddcb69f526c36fe35887e5a.zip
polarssl: disable an unused random number generator
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45606 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs')
-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 b2ae4de957..9586e19318 100644
--- a/package/libs/polarssl/patches/200-reduce_config.patch
+++ b/package/libs/polarssl/patches/200-reduce_config.patch
@@ -1,5 +1,15 @@
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
+@@ -370,8 +370,8 @@
+ * Requires: POLARSSL_HMAC_DRBG_C
+ *
+ * Comment this macro to disable deterministic ECDSA.
+- */
+ #define POLARSSL_ECDSA_DETERMINISTIC
++ */
+
+ /**
+ * \def POLARSSL_KEY_EXCHANGE_PSK_ENABLED
@@ -392,8 +392,8 @@
* TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
* TLS_PSK_WITH_3DES_EDE_CBC_SHA
@@ -160,6 +170,16 @@
/**
* \def POLARSSL_HAVEGE_C
+@@ -1624,8 +1624,8 @@
+ * Requires: POLARSSL_MD_C
+ *
+ * Uncomment to enable the HMAC_DRBG random number geerator.
+- */
+ #define POLARSSL_HMAC_DRBG_C
++ */
+
+ /**
+ * \def POLARSSL_MD_C
@@ -1746,8 +1746,8 @@
* Requires: POLARSSL_HAVE_ASM
*