diff mbox series

[OpenWrt-Devel,2/3] mbedtls: Activate the session cache

Message ID 20180521115854.3652-2-hauke@hauke-m.de
State Accepted
Delegated to: John Crispin
Headers show
Series [OpenWrt-Devel,1/3] mbedtls: update to version 2.9.0 | expand

Commit Message

Hauke Mehrtens May 21, 2018, 11:58 a.m. UTC
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>
---
 package/libs/mbedtls/patches/200-config.patch | 10 ----------
 1 file changed, 10 deletions(-)
diff mbox series

Patch

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:
   *