aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-05-21 13:58:53 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-08-08 22:49:17 +0200
commit0d5a041095a142456176bf0a9a2c4fb02b99016c (patch)
tree15705a58d14c98a5e7db024787bb7994b72b66ce
parent69c75f076a0860939f06e72217ae5122f7c51bbd (diff)
downloadupstream-0d5a041095a142456176bf0a9a2c4fb02b99016c.tar.gz
upstream-0d5a041095a142456176bf0a9a2c4fb02b99016c.tar.bz2
upstream-0d5a041095a142456176bf0a9a2c4fb02b99016c.zip
mbedtls: Activate the session cache
This make sit possible to store informations about a session and reuse it later. When used by a server it increases the time to create a new TLS session from about 1 second to less than 0.1 seconds. The size of the ipkg file increased by about 800 Bytes. ipkg for mips_24kc before: 163.140 Bytes ipkg for mips_24kc after: 163.967 Bytes Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/libs/mbedtls/patches/200-config.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch
index acad944717..0efeb219a0 100644
--- a/package/libs/mbedtls/patches/200-config.patch
+++ b/package/libs/mbedtls/patches/200-config.patch
@@ -223,15 +223,6 @@
/**
* \def MBEDTLS_RSA_C
-@@ -2450,7 +2450,7 @@
- *
- * Requires: MBEDTLS_SSL_CACHE_C
- */
--#define MBEDTLS_SSL_CACHE_C
-+//#define MBEDTLS_SSL_CACHE_C
-
- /**
- * \def MBEDTLS_SSL_COOKIE_C
@@ -2472,7 +2472,7 @@
*
* Requires: MBEDTLS_CIPHER_C