aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-05-21 13:58:53 +0200
committerJohn Crispin <john@phrozen.org>2018-05-22 20:47:20 +0200
commitf2c8f6dc3249b506b915741d12905402dfffe162 (patch)
treec89c653d570ac654f8e44fa943d22a55c2334ee9
parentcb11b23d601f1a8a96fed1bb903452c941770ae7 (diff)
downloadupstream-f2c8f6dc3249b506b915741d12905402dfffe162.tar.gz
upstream-f2c8f6dc3249b506b915741d12905402dfffe162.tar.bz2
upstream-f2c8f6dc3249b506b915741d12905402dfffe162.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. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/libs/mbedtls/patches/200-config.patch10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch
index eb2ba5f81b..8a98941c2a 100644
--- a/package/libs/mbedtls/patches/200-config.patch
+++ b/package/libs/mbedtls/patches/200-config.patch
@@ -222,16 +222,6 @@
/**
* \def MBEDTLS_RSA_C
-@@ -2483,8 +2483,8 @@
- * Caller:
- *
- * Requires: MBEDTLS_SSL_CACHE_C
-- */
- #define MBEDTLS_SSL_CACHE_C
-+ */
-
- /**
- * \def MBEDTLS_SSL_COOKIE_C
@@ -2505,8 +2505,8 @@
* Caller:
*